Evaluation
Confusion matrix
A confusion matrix counts predictions by actual and predicted class.
How it works
Its cells expose which classes are confused rather than collapsing performance into one number. Binary matrices contain true positives, false positives, false negatives, and true negatives.
A concrete example
Illustrative: [[TN 900, FP 20], [FN 30, TP 50]] over 1,000 examples.
Do not confuse it with Contingency table
a confusion matrix specifically crosses predicted and actual classes.