Skip to content

Instantly share code, notes, and snippets.

@mempirate
Created April 4, 2018 15:15
Show Gist options
  • Save mempirate/358609bc04dde4a995baeaf6b7703350 to your computer and use it in GitHub Desktop.
Save mempirate/358609bc04dde4a995baeaf6b7703350 to your computer and use it in GitHub Desktop.
from sklearn.linear_model import LinearRegression
regressor = LinearRegression()
regressor.fit(X_train, y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment