The applet below is an implementation of the classifier algorithm: K-Nearest Neighbor (KNN). To use it, fill in the fields "points" with the number of desired points to be generated and the field "classes" with the number of classes of points. By clicking "Plot" it will be shown in the right space the points randomly generated, where each color represents a diferent class points. After generating the points, fill the field "K" in and click anywhere on the right box to have the new point classified according to the K nearest points.
Github: Source Code
License: Creative Commons Attribution-ShareAlike 3.0 Unported License.