Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created April 2, 2020 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/3dff6d99acfb787a87309df653cff90a to your computer and use it in GitHub Desktop.
Save aniruddha27/3dff6d99acfb787a87309df653cff90a to your computer and use it in GitHub Desktop.
from sklearn.metrics import roc_auc_score
# auc scores
auc_score1 = roc_auc_score(y_test, pred_prob1[:,1])
auc_score2 = roc_auc_score(y_test, pred_prob2[:,1])
print(auc_score1, auc_score2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment