What is class imbalance?
When one kind of case dominates the data (for example, 99% of transactions are honest). The system can get almost everything right just by always guessing the common case.
Also called: imbalanced classes, imbalanced data, unbalanced data.
An analogy
Screening a thousand bags where only one holds something forbidden: a guard who waves everyone through is right 99.9% of the time and still useless.
Where it shows up in the course
- Data traps: leakage, drift, and class imbalance
- The pipeline of an ML project