move functions definitions

This commit is contained in:
Arkadiusz Kondas 2016-04-04 21:50:30 +02:00
parent 4b91593085
commit f6a5611586
2 changed files with 18 additions and 16 deletions

View File

@ -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)
{
}
}

View File

@ -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)
{
}
}