find best fit line across points by minimizing the sum of the squares of the vertical distances between the data points and the line minimizing residuals / error