FREE LESSON PREVIEW
Scores, thresholds and classes
A binary classifier can output a score and apply a threshold. Scores are not necessarily calibrated probabilities. Define the positive class, such as urgent ticket. At threshold 0.5, scores 0.2,0.6,0.9 become negative,positive,positive.
Lowering a threshold for fixed scores labels at least as many observations positive. Choose thresholds using validation data and the costs of false alarms and misses. A default threshold is not automatically appropriate for the decision. Keep final test data separate from repeated threshold tuning.
Try it yourself
At threshold 0.7, which of 0.3,0.65,0.8 are positive?
Worked answer
Only 0.8, using score greater than or equal to threshold.
