How does k-means clustering differ from k-nearest neighbours?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Compare k-means clustering with k-nearest neighbours, two algorithms that share a letter but solve different problems. Tests whether you can explain the learning setting of each, what k counts, where the computation happens, what the two have in common, and how k is chosen for each.