“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.”
看懂背後的決策。
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.
常見問題
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.