mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-15 09:54:08 +00:00
26 lines
380 B
PHP
26 lines
380 B
PHP
<?php
|
|
|
|
declare (strict_types = 1);
|
|
|
|
namespace Phpml\Classifier;
|
|
|
|
class NaiveBayes implements Classifier
|
|
{
|
|
/**
|
|
* @param array $samples
|
|
* @param array $labels
|
|
*/
|
|
public function train(array $samples, array $labels)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @param array $samples
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function predict(array $samples)
|
|
{
|
|
}
|
|
}
|