Table 3.
Confusion matrix in the case of binary classification

Actual class Positive Negative
Predicted class
Positive True positive (TP) False positive (FP)
Negative False negative (FN) True negative (TN)