When the Important Class Is Rare
If almost every sensor is healthy, predicting healthy every time can look accurate while missing every failure. We need to inspect what the score says about each class.
12 sections · 3 questions · 2 coding challenges
1 / 12
The arrow keys move between sections too.
Learning From a Class That Appears Only Occasionally
BOTIE
Consider a classifier trained on records where one outcome is much more common than the other. It can reduce its total mistakes by favouring the common class, even if the rare cases are the ones we most need to find. Work on imbalanced classification addresses that mismatch between a convenient training objective and the job the model is meant to do.
Chawla and colleagues' 2002 SMOTE paper studied synthetic minority oversampling, creating additional minority examples between nearby observations. That is one response to imbalance, not a universal remedy. Our lesson first makes the evaluation problem visible; it does not generate synthetic sensor records.