Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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\KNearestNeighbors | protected |
train(array $samples, array $targets) (defined in Phpml\Estimator) | Phpml\Estimator |