“Create a confusion matrix heatmap for a produce-image classifier with actual rows and predicted columns Apple, Orange and Banana. Use counts: Apple 78, 6, 1; Orange 8, 72, 4; Banana 2, 3, 81.”
Comprenez les décisions qui le sous-tendent.
Make mistakes understandable.
See where each actual class goes.
Find strong and weak classes.
Use for a labeled test set where every image has one class.
Questions fréquentes
Why are rows actual classes?
That layout shows where examples of each true class were predicted.
What can cause class confusion?
Similar appearance, weak training data or inconsistent labels can contribute.
Is accuracy enough?
No. The matrix reveals the distribution of errors across classes.