Skip to content

Instantly share code, notes, and snippets.

@securetorobert
Created June 14, 2020 01:31
Show Gist options
  • Save securetorobert/4f1d795eb577eb2e175032ed2d0000e3 to your computer and use it in GitHub Desktop.
Save securetorobert/4f1d795eb577eb2e175032ed2d0000e3 to your computer and use it in GitHub Desktop.
Evaluate baseline LR model for boston housing
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