Linear Regression and Least Squares

Supervised learning adds a label to each point. Regression predicts a real-valued label with a function chosen from a family; linear regression uses w·x and scores it by squared error. Setting the gradient of the squared error to zero gives the normal equations and the closed form w* = (XXᵀ)⁻¹Xy. Low training error alone can mean overfitting.

Machine Learning Techniques

Sign up free to read the rest of this lesson