mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-05 04:57:52 +00:00
move functions definitions
This commit is contained in:
parent
4b91593085
commit
f6a5611586
@ -5,22 +5,6 @@ namespace Phpml\Classifier;
|
||||
abstract class NaiveBayes implements Classifier
|
||||
{
|
||||
|
||||
/**
|
||||
* @param array $features
|
||||
* @param array $labels
|
||||
*/
|
||||
public function train($features, $labels)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $feature
|
||||
* @return mixed
|
||||
*/
|
||||
public function predict($feature)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -5,4 +5,22 @@ 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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user