Stochastic Linear Regression exercises from Learning From Data