Linear Regression, Data Science, Modeling, Ordinary Least Square, Regression.
find the slope of a line that minimizes the residuals. Figure 2: example of a 2D hyperplane — src. Image by author. In our case we have multiple predictors, so we’ll be fitting a high-dimensional hyperplane, as shown in figure 2. It’s hard to visualize anything beyond three dimensions, but