Linear Regression, Linear Algebra, Mathematics, Statistics, Data Science.
line is the ‘best’ line for a dataset, or alternatively finding the coefficients of the line of best fit for a set of points, is the task of regression. We find these coefficients by minimising the error, defined as the sum of the squares of the vertical distances between each point and the line ―