vcr.knn.train function

Carry out a k-nearest neighbor classification on training data, and prepare to visualize its results.