Skip to content

Instantly share code, notes, and snippets.

@Manikant92
Created September 4, 2018 10:02
Show Gist options
  • Save Manikant92/3b78b17c8816ac98d450e3b02d8deb63 to your computer and use it in GitHub Desktop.
Save Manikant92/3b78b17c8816ac98d450e3b02d8deb63 to your computer and use it in GitHub Desktop.
#import metrics module from sklear
from sklearn import metrics
print(metrics.r2_score(y_test, y_prediction)*100)
#output: 100.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment