Table 2: The confusion matrix.

Actual label
PositiveNegative

Classification resultPositiveTrue positive (TP)False positive (FP)
NegativeFalse negative (FN)True negative (TN)