Fig. 2

Confusion matrices for the two subsamplings variants. 4\(\times\)4 confusion matrix for the classification problem with four classes. Rows correspond to the true classes and columns to the model’s predictions. Diagonal values indicate correct classifications (true positives), while off-diagonal values represent misclassifications.