In a KNN (K-Nearest Neighbours) algorithm, a test sample is given as the class of majority of its nearest neighbours. In plain words, if you are similar to your neighbours, then you are one of them.
Machine Learning A-Z
Thoughts and flashcards derived from Udemy’s course Machine Learning A-Z.