Linear Regression, Linear Algebra, Mathematics, Statistics, Data Science.
producing the lowest value of the sum of the squared distances leads to the name for this method, least squares. We minimise the sum of the squared errors (shown in red) to produce a line of best fit; this is the foundational principle of least squares regression. Example: Linear Regression with