Skip to main content
. 2025 Feb 21;11:e2718. doi: 10.7717/peerj-cs.2718

Table 3. Confusion matrix for binary classification.

During the calculation of the metrics, the actual and estimated true/false numbers are determined using the confusion matrix.

Predicted:Mild Predicted:Moderate Predicted:Severe Predicted:Healthy
Actual:Mild TP FN FN FN
Actual:Moderate FP TP FN FN
Actual:Severe FP FP TP FN
Actual:Healthy FP FP FP TP