Skip to main content
. Author manuscript; available in PMC: 2021 Sep 1.
Published in final edited form as: Mach Learn Sci Technol. 2021 May 13;2(3):035015. doi: 10.1088/2632-2153/abe6d6

Table 1.

Binary classification results. Confusion matrix can visualize and evaluate the performance of classification models. Rows represent the instances in predicted classes while columns represent the instances in real classes. True positive and true negative refer to the results where the model correctly predicts the positive and negative classes, respectively. Similarly, false positive and false negative refer to the results where the model incorrectly predicts the positive and negative classes, respectively.

Real Positive Real Negative
Predicted Positive True Positive (TP) False Negative (FN)
Predicted Negative False Positive (FP) True Negative (TN)