Open Agent School · Public worked example

Confusion matrix: meaning and example

Welcome! Take one idea with you today.

A table that counts predictions by actual and predicted class, exposing which categories are confused with one another.

Picture it: A binary table separates correct spam flags, false alarms, missed spam and correct non-spam decisions.

What is easy to mix up?

Check axis labels and the positive-class definition before interpreting the cells.

Teaching example by Open Agent School. Source: Google - Machine Learning Glossary.