How does KNN make predictions for a regression task?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how k-nearest neighbors turns the targets of nearby training points into a numeric prediction. Tests distance weighting, how the choice of K affects bias and variance, and the limits of the method, such as its inability to extrapolate.