Plot ROC Curve
hardTask
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
- Examine the setup code and data
- Modify the code to solve the puzzle
- Click Run or press Ctrl+Enter to execute