Chapter 09
2.6 Linear regression: vector form
2.6 Linear regression: vector form
![]()
Notes
The formula of linear regression can be synthesized with the dot product between features and weights. The feature vector includes the bias term with an x value of one, such as .
When all the records are included, the linear regression can be calculated with the dot product between feature matrix and vector of weights, obtaining the y vector of predictions.
The entire code of this project is available in this jupyter notebook.
