Precision-Recall Trade-off
hardTask
Calculate precision, recall, and F1-score for different classification thresholds.
Why It Matters
In real applications, the costs of false positives vs false negatives are often different (spam detection vs cancer diagnosis). Understanding precision-recall trade-offs lets you tune your classifier for your specific business needs.
Instructions
- Examine the setup code and data
- Modify the code to solve the puzzle
- Click Run or press Ctrl+Enter to execute