December 2018
Beginner to intermediate
684 pages
21h 9m
English
The accompanying notebook linear_regression_intro.ipynb illustrates a simple and then a multiple linear regression, the latter using both OLS and gradient descent. For the multiple regression, we generate two random input variables x1 and x2 that range from -50 to +50, and an outcome variable calculated as a linear combination of the inputs plus random Gaussian noise to meet the normality assumption GMT 6:
