Definition
Design matrix (points as rows), outputs . Least squares solves ; an intercept is absorbed by a column of ones. The normal equations are .
Formula
- Convex; the Hessian is positive semi-definite.
- Rank deficient: with are also solutions; they agree on the training points, not on test points. The minimum norm solution is one natural choice.
- harmless; overfitting or benign overfitting. Fixed design excess risk of OLS: .
Appears in
- Lecture 5, setup
- Lecture 5, Theorem 2 (least squares solution, full rank)
- Lecture 5, Theorem 3 (least squares solution, rank deficient)
- Lecture 5, n vs. d
- Lecture 5, excess risk of OLS
- Lecture 3, many minimizers when d ≫ n
- Lecture 8, GD converges to the minimum norm solution
- Lecture 8, Theorem 4 (excess risk in both regimes)