Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Phpml\Classification\KNearestNeighbors Member List

This is the complete list of members for Phpml\Classification\KNearestNeighbors, including all inherited members.

__construct(int $k=3, ?Distance $distanceMetric=null)Phpml\Classification\KNearestNeighbors
predict(array $samples) (defined in Phpml\Estimator)Phpml\Estimator
predictSample(array $sample)Phpml\Classification\KNearestNeighborsprotected
train(array $samples, array $targets) (defined in Phpml\Estimator)Phpml\Estimator