Introduction - If you have any usage issues, please Google them yourself
In this program, the training sample set containing 30 samples, the vector length sample the {1,18,11,11,0.5513196} K = 5, K-nearest neighbor classifier. Samples read from the file data.txt The program runs The results showed that all the samples, as well as its class, be classified sample category ({1,18,11,11,0.5513196} belong to the " 2" category), as well as its five nearest neighbor category and it distance.