1. Learn
  2. /
  3. Courses
  4. /
  5. Marketing Analytics: Predicting Customer Churn in Python

Connected

Exercise

Area under the curve

The ROC curve from the previous exercise is viewable on the right. Visually, it looks like a well-performing model. Let's quantify this by computing the area under the curve.

Instructions 1/2

undefined XP
    1
    2
  • Import roc_auc_score from sklearn.metrics.