Created
June 14, 2020 01:31
-
-
Save securetorobert/4f1d795eb577eb2e175032ed2d0000e3 to your computer and use it in GitHub Desktop.
Evaluate baseline LR model for boston housing
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.metrics import mean_squared_error | |
print('Score: {}'.format(lr.score(X_test, y_test))) | |
print('MSE: {}'.format(mean_squared_error(y_test, y_pred))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment