Skip to content
nonconvexcard

Kernel ridge regression in closed form

ProofIntermediate⏱ 30 minClassical MLkernel ridgeclosed formrepresenter

Problem

Derive α=(K+nλI)−1y\alpha = (\mathbf K+n\lambda I)^{-1}y for kernel ridge regression from the representer theorem, and show the resulting predictor is f^(x)=k(x)⊤(K+nλI)−1y\hat f(x) = k(x)^\top(\mathbf K+n\lambda I)^{-1}y with k(x)i=K(xi,x)k(x)_i = K(x_i,x).

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
SolvedProblemFieldTypeDifficultyTime
Implement kernel ridge regression runClassical MLCodingIntermediate1 hour
The Gaussian kernel is positive definiteClassical MLProofIntermediate30 min
Derive the optimal weight update abyssQuantizationProofAdvanced1 hour
The reproducing property and its consequencesClassical MLProofAdvanced30 min
The Schur product theoremClassical MLProofAdvanced30 min