machine-learning classification statistics

Definition

Confusion Matrix

A confusion matrix is a tabular representation utilised to describe the performance of a classification model. For a binary classification task, the matrix is structured as:

Predicted PositivePredicted Negative
Actual PositiveTP (True Positive)FN (False Negative)
Actual NegativeFP (False Positive)TN (True Negative)

This representation allows for the derivation of various performance metrics such as Accuracy, Precision, Recall, and F1-Score.