November 2017
Intermediate to advanced
374 pages
10h 19m
English
The LinearRegression object can automatically normalize (or scale) inputs:
lr2 = LinearRegression(normalize=True)lr2.fit(boston.data, boston.target)LinearRegression(copy_X=True, fit_intercept=True, normalize=True) predictions2 = lr2.predict(boston.data)
Read now
Unlock full access