create SVM class skeleton

This commit is contained in:
Arkadiusz Kondas 2016-04-19 22:54:33 +02:00
parent d9d7895947
commit 6024b1f664

View File

@ -0,0 +1,22 @@
<?php
declare (strict_types = 1);
namespace Phpml\Classifier;
use Phpml\Classifier\Traits\Predictable;
use Phpml\Classifier\Traits\Trainable;
class SupportVectorMachine implements Classifier
{
use Trainable, Predictable;
/**
* @param array $sample
*
* @return mixed
*/
protected function predictSample(array $sample)
{
}
}