Lesson 8: Nearest Neighbors for Using Similarity
Section outline
-
· Overview: This lesson introduces the k-Nearest Neighbors (KNN) algorithm, a simple yet powerful method that makes predictions based on similarity to known examples. Students learn how “show me your neighbors, and I’ll tell you who you are” works in practice, including how to choose the number of neighbors and measure similarity.