You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It occurred to me that the "print("AUC: ", roc_auc_score(y_test, y_pred_prob)" in section 13 doesn't have LogisticRegression predict_proba. The only other "y_pred_prob" is in section 11, and the line is y_pred_prob = nb.predict_proba(X_test_dtm)[:, 1], which is the Multinomial Naive Bayes predict_proba in Section 11.
"y_pred_proba = logreg.predict_proba(X_test_dtm)[:, 1] # Get probability for class 1\n",