Last active
February 11, 2020 22:10
-
-
Save animesh-agarwal/29efdaa788a59e89e0d9fdade4b1ffcc to your computer and use it in GitHub Desktop.
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 | |
from sklearn.metrics import mean_squared_error | |
lin_model = LinearRegression() | |
lin_model.fit(X_train, Y_train) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I think that there's r2_score import missing from sklearn.metrics