Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: