mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-26 06:46:45 +00:00
create SVM class skeleton
This commit is contained in:
parent
d9d7895947
commit
6024b1f664
22
src/Phpml/Classifier/SupportVectorMachine.php
Normal file
22
src/Phpml/Classifier/SupportVectorMachine.php
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user