Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-205/5/b/solution

The leave-one-out residual identity for a linear smoother, obtained from the block matrix inverse or the Sherman–Morrison formula, is
Hence
Compute once the spectral decomposition in operations and the vector in . For each , set
Then compute
Both calculations take operations per tuning parameter, after which the displayed leave-one-out formula costs . All scores therefore require operations.

New to topics? Read the docs here!