[home]
``...w0ah!''
Alex S.
This applet implements the kNN (k-Nearest Neighbor) where k=1. To plot 'x' use left mouse button. To plot 'o' use right mouse button. The applet will find the nearest neighbour and properly shade the backgground. Type any key to reset.
[NearestNeighbor.java] [BufferedApplet.java] [pMatrix.java]
[home]