Skip to content

Instantly share code, notes, and snippets.

@abhishek-shrm
Created September 23, 2020 03:20
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 abhishek-shrm/7d8a8a40f9bc2a3f303ebc3c8053451f to your computer and use it in GitHub Desktop.
Save abhishek-shrm/7d8a8a40f9bc2a3f303ebc3c8053451f to your computer and use it in GitHub Desktop.
from sklearn.metrics import roc_auc_score
# In-sample Evaluation
train_pred=model.predict(x_train_split)
print('In-sample Evaluation ROC-AUC Score:\n',roc_auc_score(y_train_split,train_pred))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment