$K$-Nearest Neighbor classifier

Select a data file...
Click on one of the dataset represented below or input your own data file
The custom data file should be a CSV file, comma separator, with each line listing the feature values and the class label as last column.
Tip: you may prepare the dataset with a spreadsheet...

BEWARE: a large number of points (eg, >500) may slow down the demo excessively (depending on your local hardware).

See the Wikipedia $K$-NN page (new tab) for an introduction.

           

© Author: Stephane Marchand-Maillet - Viper Group - University of Geneva
Built using the JSXGraph JavaScript library