Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save techwithshadab/181d47fdfdf5c30e6c1fa61b804a557e to your computer and use it in GitHub Desktop.
Save techwithshadab/181d47fdfdf5c30e6c1fa61b804a557e to your computer and use it in GitHub Desktop.
from sklearn.metrics import r2_score
r2_score(y_test,y_pred)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment