Introduction - If you have any usage issues, please Google them yourself
K-nearest neighbor classifier (k-NN) is a nonparametric approach for classification. It does not require the priori knowledge such as priori probabilities and the conditional probabilities. It operates directly towards the samples and is categorized as an instance-based classification method.