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

28 lines
369 B
PHP
Raw Normal View History

2016-02-09 06:45:07 +00:00
<?php
2016-04-04 20:25:27 +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)
{
2016-02-09 06:45:07 +00:00
2016-04-04 20:25:27 +00:00
}
/**
* @param mixed $feature
* @return mixed
*/
public function predict($feature)
{
}
2016-02-09 06:45:07 +00:00
}