Question: how knn works in face recognition?
Answer: KNN is called memory-based or lazy learning because the way it learns is just storing the representations of the training examples. An object is classsifed based on the majority votes of its neighbors (the training set). The new example object will be assigned to the class with its most similar k nearest neighbors.