Plot ROC Curve

hard

Task

Train a classifier and compute the ROC curve and AUC score for binary classification.

Why It Matters

ROC curves show the trade-off between true positive rate and false positive rate at different classification thresholds. AUC provides a single number summarizing this trade-off - essential for comparing classifiers and choosing optimal thresholds.

Instructions

  1. Examine the setup code and data
  2. Modify the code to solve the puzzle
  3. Click Run or press Ctrl+Enter to execute

Command Palette

Search for a command to run...