(lecture15)=
# Lecture 15: Linear regression
(lecture15-objectives)=
## Learning objectives
+ Cast the least squares problem in the language of linear algebra.
+ Introduce polynomial regression.
+ Introduce the generalized linear model.
+ Demonstrate overfitting and underfitting.
+ Introduce cross validation to select the number of basis functions.