confusion matrix (de.: Konfusionsmatrix)

Confusion matrices are used to evaluate potential weaknesses in classification methods. For a method designed to distinguish N classes, the confusion matrix as a size of  N × N. The numeric value at an element (i, j) denotes how often the method classified an instance of class i as an instance of class j. An ideal method achieves a perfect diagnoal matrix. Off-diagonal entries instead (i.e. cases where for any i≠j the numeric value at this element is nonzero) indicate a risk of the method confusing the classes i and j, and quantify the occurrence.

See also:

ISO/IEC TR 29119-11:2020 table used to describe the performance of a classifier (3.1.21) on a set of test data (3.1.75) for which the true and false values are known

ISTQB - CTAI Syllabus A technique for summarizing the ML functional performance of a classification algorithm

Source: AI-Glossary.org (https://www.ai-glossary.org), License of definition text (excl. standard references): CC BY-SA 4.0, accessed: 2025-04-04

BibTeX-Information

@misc{aiglossary_confusionmatrix_15tt5tt,
author = {{AI-Glossary.org}},
title = {{confusion matrix}},
howpublished = "https://www.ai-glossary.org/index.php?p=15tt5tt\&l=en",
year = "2025",
note = "online, accessed: 2025-04-04" }