Confusion matrix in binary classification problems : a step-by-step tutorial

Author

Fahmi, Mahmud M.

Source

Journal of Engineering Research

Issue

Vol. 6, Issue 5 (31 Dec. 2022), pp.1-12, 12 p.

Publisher

Tanta University Faculty of Engineering

Publication Date

2022-12-31

Country of Publication

Egypt

No. of Pages

12

Main Subjects

Information Technology and Computer Science

Topics

Abstract EN

In the field of machine learning, the confusion matrix is a specific table adopted to describe and assess the performance of a classification model (E.G.

an artificial neural network) for a set of test data whose actual distinguishing features are known.

the learning algorithm is thus of the supervised learning category.

for an n-class classification problem, the confusion matrix is square with n rows and n columns.

the rows represent the class actual samples (instances) which are the inputs to the classifier, while the columns represent the class predicted samples, the classifier outputs.

(the converse is also valid, I.E.

the two dimensions 'actual' and 'predicted' can be assigned to columns and rows, respectively).

binary as well as multiple-class classifiers can be dealt with.

it is worth noting that the term 'matrix' here has nothing to do with the theorems of matrix algebra ; it is regarded just as an information-conveying table.

the descriptive word ‘confusion’ stems from the fact that the matrix clarifies to what extent the model confuses the classes-mislabels one as another.

the essential concept was introduced in 1904 by the British statistician Karl Pearson (1857-1936).

American Psychological Association (APA)

Fahmi, Mahmud M.. 2022. Confusion matrix in binary classification problems : a step-by-step tutorial. Journal of Engineering Research،Vol. 6, no. 5, pp.1-12.
https://search.emarefa.net/detail/BIM-1502877

Modern Language Association (MLA)

Fahmi, Mahmud M.. Confusion matrix in binary classification problems : a step-by-step tutorial. Journal of Engineering Research Vol. 6, no. 5 (Dec. 2022), pp.1-12.
https://search.emarefa.net/detail/BIM-1502877

American Medical Association (AMA)

Fahmi, Mahmud M.. Confusion matrix in binary classification problems : a step-by-step tutorial. Journal of Engineering Research. 2022. Vol. 6, no. 5, pp.1-12.
https://search.emarefa.net/detail/BIM-1502877

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references : p. 12

Record ID

BIM-1502877