k-Nearest Neighbours: Decision Boundary, Distance Metric and Leave-One-Out Error
Classify a moving query point by the vote of its k nearest labelled neighbours on a Blender-built lab table. Change k, the training set, class overlap, the distance metric and the vote weighting, and watch the decision map, the leave-one-out and test errors, the Bayes limit and the Cover-Hart bound for 1-NN. Numerical checks cover neighbour search, Bayes error, leave-one-out and the triangle inequality.
Classify a moving query point by the vote of its k nearest labelled neighbours on a Blender-built lab table. Change k, the training set, class overlap, the distance metric and the vote weighting, and watch the decision map, the leave-one-out and test errors, the Bayes limit and the Cover-Hart bound for 1-NN. Numerical checks cover neighbour search, Bayes error, leave-one-out and the triangle inequality.
Classify a moving query point by the vote of its k nearest labelled neighbours on a Blender-built lab table. Change k, the training set, class overlap, the distance metric and the vote weighting, and watch the decision map, the leave-one-out and test errors, the Bayes limit and the Cover-Hart bound for 1-NN. Numerical checks cover neighbour search, Bayes error, leave-one-out and the triangle inequality.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install