Skip to content

Instantly share code, notes, and snippets.

@securetorobert
Created June 14, 2020 00:41
Show Gist options
  • Save securetorobert/1561daed11e72c94bc32498350a6b0ff to your computer and use it in GitHub Desktop.
Save securetorobert/1561daed11e72c94bc32498350a6b0ff to your computer and use it in GitHub Desktop.
Train a Linear Regression estimator on boston data
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