Understand instance-based learning through interactive visualization
Interactive exploration with challenges
Compare Euclidean, Manhattan, and Minkowski
See how K affects classification
Distance-weighted vs uniform voting
Click to add points and classify
Free Exploration Mode
Click to add training points (red/blue), then click anywhere to classify a new point. Watch how the K nearest neighbors vote!
Left-click: Add/change class | Right-click: Delete | Click empty space: Classify
Current K: 3
Distance Metric
Statistics
Training points: 0
Class 0 (Red): 0
Class 1 (Blue): 0
Classifications made: 0