Lessons
-
Evaluation metrics: session overview
Recap the churn model, then introduce the metrics used to evaluate binary classifiers.
-
Accuracy and dummy model
Compute accuracy, test decision thresholds, and compare the model with a dummy model that predicts no churn.
-
Confusion table
Count true and false positives and negatives in a confusion table for the churn model.
-
Precision and Recall
Compute precision and recall for the churn model and explain what each reveals beyond accuracy.
-
ROC Curves
Build TPR and FPR across all thresholds, compare with random and ideal models, and plot the ROC curve.
-
ROC AUC
Compute ROC AUC as a single score and interpret it as the chance a positive outranks a negative.
-
Cross-Validation
Tune the C parameter with k-fold cross-validation, then train the final model and score it on the test set.
-
Summary
Recap the evaluation metrics for the churn model, from accuracy and precision to ROC AUC and cross-validation.
-
Explore more
Suggest extra practice on the F1 score, precision-recall curves, and the area under the PR curve.
Homework
Homework 4: Evaluation Metrics for Classification
Scored7 questions · 2026 cohort · closed Oct 19, 2026