Click algorithme_KNN.pdf link to view the file.