Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 218 2 e Solution Created 2026-09-24 Updated 2026-09-25
Put , so and with independent noise vectors having covariance matrix . For any deterministic linear smoother ,whereas independence givesExpanding the first trace shows that the second expression exceeds the first by , proving the identity.
For ridge regression,Its effective degrees of freedom are . Thus training error is optimistically biased for independent-copy prediction error by . The graph exhibits exactly this effect: the dashed training curve keeps falling as decreases, while the solid test curve eventually rises through overfitting.