OrdinaryLeastSquares.md (358B)
1 # Ordinary Least Squares (OLS) 2 3 ML CH2 4 5 **Definition:** Ordinary least squares is a formula used to find the statistical line of best fit for some dataset where we are trying to minimize the square error. 6 7 When doing [LinearRegression](LinearRegression.md) there are two common methods to find the line. One is OLS and the other is [[GradientDescent.md]].