Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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