Introduction - If you have any usage issues, please Google them yourself
kNN The idea is simple: the training set and calculated data points to be classified all sample points taken the nearest k samples the number of statistical categories that k samples according to the majority voting scheme up to take the kind of quantity as to be test samples category. Distance metrics can be used Euclidean distance, Manhattan distance and cosine.