php-ml/src/Phpml/Classifier/NaiveBayes.php

26 lines
376 B
PHP
Raw Normal View History

2016-02-09 06:45:07 +00:00
<?php
2016-04-04 20:49:54 +00:00
declare (strict_types = 1);
2016-02-09 06:45:07 +00:00
namespace Phpml\Classifier;
2016-04-04 20:25:27 +00:00
class NaiveBayes implements Classifier
2016-02-09 06:45:07 +00:00
{
2016-04-04 20:25:27 +00:00
/**
* @param array $features
* @param array $labels
*/
public function train(array $features, array $labels)
{
}
/**
* @param mixed $feature
2016-04-04 20:49:54 +00:00
*
2016-04-04 20:25:27 +00:00
* @return mixed
*/
public function predict($feature)
{
}
2016-02-09 06:45:07 +00:00
}