What Confusion Matrix Meaning, Applications & Example

Table showing correct and incorrect predictions for classification tasks.

What is a Confusion Matrix?

A Confusion Matrix is a table used to evaluate the performance of a classification model . It compares the predicted labels with the actual labels, showing how well the model is performing by detailing the true positives, false positives, true negatives, and false negatives.

Components of a Confusion Matrix

  1. True Positives (TP): Correctly predicted positive instances.
  2. False Positives (FP): Incorrectly predicted as positive.
  3. True Negatives (TN): Correctly predicted negative instances.
  4. False Negatives (FN): Incorrectly predicted as negative.

Applications of a Confusion Matrix

Example of a Confusion Matrix

In email spam detection, the confusion matrix shows how well the model identifies spam emails:

Read the Governor's Letter

Stay ahead with Governor's Letter, the newsletter delivering expert insights, AI updates, and curated knowledge directly to your inbox.

By subscribing to the Governor's Letter, you consent to receive emails from AI Guv.
We respect your privacy - read our Privacy Policy to learn how we protect your information.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z