99% accuracy but zero minority detections: a small Python experiment
A classifier that always predicts the majority class can get 99% accuracy while missing every minority-class example. In this synthetic example, the test set has 495 majority-class records and five minority-class records. Predicting the majority class for everyone gets 495/500 right, but detects 0/…
Read the full story at r/learnmachinelearning ↗
Timeline · 1 report
- 2026-10-08 05:50 · r/learnmachinelearning
99% accuracy but zero minority detections: a small Python experiment