Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: