Quant Memo
Statistics/●●●●●

Choosing k in k-nearest-neighbors as a bias–variance dial

In kk-nearest-neighbors, a prediction at a point is the average of the responses of its kk closest training points.

Explain how the choice of kk trades bias against variance, what happens at the two extremes, and how you would choose it.

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Statistics questions