1. Lära sig
  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.

Instruktioner 1 / 2

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