AUC calculador
# Import necessary modules
from sklearn.model_selection import cross_val_score
from sklearn.metrics import roc_auc_score
# Compute predicted probabilities: y_pred_prob
y_pred_prob = logreg.predict_proba(X_test)[:,1]
…# Print list of AUC scores
print("AUC scores computed using 5-fold cross-validation: {}".format(cv_auc))
josh.ipynb