The k-NN bias–variance balance
ProofAdvanced⏱ 1 hourClassical MLknnratenonparametriccurse
Problem
Derive the -NN regression rate by balancing a bias term against a variance term , and determine the optimal . Then compute the sample size needed for accuracy at .
Write a complete argument. Every inequality you use should be one you could state precisely.
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Simulate distance contrast run | Classical ML | Coding | 30 min | ||
| Two different curses of dimensionality | Classical ML | Numerical | 15 min | ||
| Distance contrast and the failure of nearest neighbours | Classical ML | Proof | 30 min | ||
| Measure the covariance estimation rate run | High-Dim Statistics | Coding | 1 hour | ||
| Non-convex gradient descent reaches an approximate stationary point | Optimization | Proof | 30 min |