Table 3 A confusion matrix displays the number of correctly and incorrectly classified samples for both the majority and minority classes. The diagonal elements represent true positives and true negatives, while the off-diagonal elements indicate misclassifications. This visualization provides insight into how well the classifier distinguishes between classes after applying the proposed resampling.

From: An approach for handling imbalanced datasets using borderline shifting

 

Predict

positive

negative

Actual

positive

TP

FN

 

negative

FP

TN