Probabilistic Programming, Pyro, Data Science, Hands On Tutorials.
train and test sets to get an estimate of how our algorithms will work: >>> (16512, 8) (16512,) >>> (4128, 8) (4128,) Let’s fit our linear regression: >>> beta_intercept: -3664645.74 >>> beta_MedInc: 44223.44 >>> beta_HouseAge: 944.77 >>> beta_AveRooms: -11532.16 >>> beta_AveBedrms: 66340.59 >>>