PHP Class Phpml\Classification\NaiveBayes

Inheritance: implements Classifier, use trait Phpml\Helper\Trainable, use trait Phpml\Helper\Predictable
Exibir arquivo Open project: php-ai/php-ml Class Usage Examples

Protected Methods

Method Description
predictSample ( array $sample ) : mixed

Method Details

predictSample() protected method

protected predictSample ( array $sample ) : mixed
$sample array
return mixed