Linear Regression, Data Science, Modeling, Ordinary Least Square, Regression.
perfectly, but linear algebra has another way of doing this. Any time you multiply a vector by the transpose of itself, you’re calculating the sum of squares. Let’s see an example… Figure 7: sum of squared residuals in matrix notation. Image by author. As shown in figure 7, vector multiplication