Question d’entretien chez IBM

How does the KNN algorithm work?