When k-nearest neighbours is used for regression, the prediction is usually:
Correct answer
C. The average target of the k nearest neighbours
17 views
C. The average target of the k nearest neighbours
17 views
KNN regression averages the neighbours' values, sometimes weighting closer neighbours more heavily. KNN classification takes a majority vote instead.
Asked in: Data Science Interviews, GATE DA
Not sure why the answer is C? Ask here and get an explanation.