Moyan AI Training Institution LogoMoyan AI

Practice · Foundational · Beginner

Confusion Matrix

A table of true and false positives and negatives that shows exactly how a classifier is right and wrong.

What Confusion Matrix is

The matrix breaks predictions down per class so you can see whether errors cluster in one direction, which a single accuracy figure hides completely.

How it works

Counts of correct and incorrect predictions per class are tabulated on the test set; precision, recall, specificity and F1 are all derived from those four cells in the binary case.

Why it matters

It is the fastest way to explain a classifier's behaviour to a non-technical stakeholder who cares about a specific error type.

Common uses

  • Medical screening review
  • Fraud model tuning
  • Moderation system audits

Strengths

  • Transparent and intuitive

Watch for

  • Cumbersome with many classes

Continue exploring

More in this collection

Browse all AI Concepts