Linear Regression, Data Science, Modeling, Ordinary Least Square, Regression.
looks to minimize the sum of the squared residuals. A residual is the distance between our linear regression line and a data point, as shown by the red lines in figure 1. Figure 1: visualization of residuals (red). Image by author. Squaring residuals is a common method for measuring model fit