Created
January 14, 2021 17:53
-
-
Save saimadhu-polamuri/4c8ee8df0c4a944df9b4e70700ede334 to your computer and use it in GitHub Desktop.
This file contains 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
## Linear regression model | |
linearModel = LinearRegression() | |
linearModel.fit(X_train, y_train) | |
## Evaluating the model | |
print(linearModel.score(X_test, y_test)) | |
""" | |
## Output | |
Output: 0.6873769003852167 | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment