Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\Classification\Classifier Interface Reference
Inheritance diagram for Phpml\Classification\Classifier:
Phpml\Estimator Phpml\Classification\DecisionTree Phpml\Classification\Ensemble\AdaBoost Phpml\Classification\Ensemble\Bagging Phpml\Classification\KNearestNeighbors Phpml\Classification\Linear\Perceptron Phpml\Classification\MLPClassifier Phpml\Classification\NaiveBayes Phpml\Classification\SVC Phpml\Classification\WeightedClassifier

Public Member Functions

 predict (array $samples)
 
 train (array $samples, array $targets)
 

Member Function Documentation

◆ predict()

Phpml\Estimator::predict ( array $samples)
inherited

Implemented in Phpml\Pipeline.

◆ train()

Phpml\Estimator::train ( array $samples,
array $targets )
inherited

The documentation for this interface was generated from the following file: