Predicted positive
Predicted negative
Total
Actual positive
TP
FN
AP
Actual negative
FP
TN
AN
PP
PN
N