mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-06-12 13:22:21 +00:00
27 lines
342 B
PHP
27 lines
342 B
PHP
<?php
|
|
|
|
use Phpml\Classifier\NaiveBayes;
|
|
|
|
class GaussianNaiveBayes extends NaiveBayes
|
|
{
|
|
|
|
/**
|
|
* @param array $features
|
|
* @param array $labels
|
|
*/
|
|
public function train($features, $labels)
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* @param mixed $feature
|
|
* @return mixed
|
|
*/
|
|
public function predict($feature)
|
|
{
|
|
|
|
}
|
|
|
|
}
|