How a Confusion Matrix Works (and Why Accuracy Can Lie)
— Satya Mallick (@LearnOpenCV) 15 septembre 2026
It splits two questions: what was actually there vs what was predicted. Cats and dogs give you true/false positives and negatives in four cells. The trap: with 1 cat and 99 dogs, always guessing "dog" scores 99% accuracy… pic.twitter.com/5xHXVLC53j
How a Confusion Matrix Works (and Why Accuracy Can Lie) It splits two questions: what was actually there vs what was predicted. Cats and dogs give you true/false positives and negatives in four cells. The trap: with 1 cat and 99 dogs, always guessing "dog" scores 99% accuracy