Regularized Least-Squares Problem
- Regularized least-squares
- Expression as an ordinary LS problem
- Solution
Regularized least-squares
In the case when the matrix in the OLS problem is not full column rank, the closed-form solution cannot be applied. A remedy often used in practice is to transform the original problem into one where the full column rank property holds.
The regularized least-squares problem has the form
where is a (usually small) parameter.
Expression as an ordinary LS problem
The regularized problem can be expressed as an ordinary least-squares problem, where the data matrix is full column rank. Indeed, the above problem can be written as the ordinary LS problem
where
The presence of the identity matrix in the matrix ensures that it is full (column) rank.
Solution
Since the data matrix in the regularized LS problem has full column rank, the formula seen here applies. The solution is unique and given by
For , we recover the ordinary LS expression that is valid when the original data matrix is full rank.
The above formula explains one of the motivations for using regularized least-squares in the case of a rank-deficient matrix : if , but is small, the above expression is still defined, even if is rank-deficient.