AI & MLCoreAIML-CML-001
k-Nearest Neighbors
Closeness votes: the query point takes the label of its neighborhood.
- Difficulty
- 2 / 5
- Importance
- 5 / 5
- Study time
- 1–2 h
- Kind of work
- Mixed
Why it matters
The learner can move a query point and vary k to predict the voted label by the exact k-smallest rule.
