Table 3 Confusion matrix obtained for proposed shutter blinds model using DISFA Database with tenfold cross-validation.

From: Automated detection of pain levels using deep feature extraction from shutter blinds-based dynamic-sized horizontal patches with facial images

Real outputs

Predicted outputs

PSPI = 0

PSPI = 1

2 ≤ PSPI ≤ 3

PSPI > 3

PSPI = 0

8528

405

80

12

PSPI = 1

132

9606

227

8

2 ≤ PSPI ≤ 3

19

338

9765

187

PSPI > 3

4

11

121

9739

Recall (%)

94.49

96.32

94.72

98.62

Precision (%)

98.21

92.72

95.80

97.92

F1-score (%)

96.32

94.49

95.26

98.27