1.3. Kernel ridge regression
Kernel ridge regression (KRR) [M2012] combines Ridge regression and classification (linear least squares with -norm regularization) with the kernel trick. It thus learns a linear function in the space induced by the respective kernel and the data. For non-linear kernels, this corresponds to a non-linear function in the original space.
The form of the model learned by is identical to support
vector regression (). However, different loss
functions are used: KRR uses squared error loss while support vector
regression uses -insensitive loss, both combined with
regularization. In contrast to , fitting
can be done in closed-form and is typically faster for
medium-sized datasets. On the other hand, the learned model is non-sparse and
thus slower than , which learns a sparse model for
, at prediction-time.