Table 4.
Confusion matrix for a two-class problem.
Positive | Negative | |
---|---|---|
Positive |
True positive (TP) Number of samples that are Positive and classifier predicts Positive |
False negative (FN) Number of samples that are Positive while classifier predicts Negative |
Negative |
False positive (FP) Number of samples that are Negative while classifier predicts Positive |
True negative (TN) Number of samples that are Negative and classifier predicts Negative |