K-Nearest Neighbors
An Interactive Classification Algorithm Demo
Click anywhere
on the canvas to place a test point and watch the KNN algorithm classify it in real-time!
K Value (Number of Neighbors)
3
Reset & Generate New Data
Class A
Class B
Class C