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

26 lines
380 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 $samples
2016-04-04 20:25:27 +00:00
* @param array $labels
*/
public function train(array $samples, array $labels)
2016-04-04 20:25:27 +00:00
{
}
/**
* @param array $samples
2016-04-04 20:49:54 +00:00
*
2016-04-04 20:25:27 +00:00
* @return mixed
*/
public function predict(array $samples)
2016-04-04 20:25:27 +00:00
{
}
2016-02-09 06:45:07 +00:00
}