Created
June 14, 2020 00:41
-
-
Save securetorobert/1561daed11e72c94bc32498350a6b0ff to your computer and use it in GitHub Desktop.
Train a Linear Regression estimator on boston data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.linear_model import LinearRegression | |
lr = LinearRegression() | |
lr.fit(X_train, y_train) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment