Skip to main content

Table 7 Confusion matrices after the classification of the activity levels along with the corresponding evaluation metrics

From: Improving activity recognition using a wearable barometric pressure sensor in mobility-impaired stroke patients

   Classification   
   Flat Elevator down Elevator up Stairs down Stairs up F-score CCR
   H-FIS
Reference Flat 23093.8 39.3 31 111.7 70.1 99.0 (99.0 ± 1.3) 98.2 (98.0 ± 1.5)
Elevator Down 40.8 108.6 13.1 0 0 70.0 (83.7 ± 10.5)
Elevator Up 79.5 0 190.4 0 0 75.5 (82.9 ± 12.1)
Stairs Down 33 0 0 166.3 0 69.7 (78.4 ± 33.3)
Stairs Up 52.8 0 0 0 188 75.4 (78.3 ± 15.2)
   EPOCH-BP
Reference Flat 23144 68 40 140 152 98.8 (98.9 ± 0.1) 96.9 (97.2 ± 0.2)
Elevator Down 32 88 52 0 0 45.8 (66.7 ± 54.1)
Elevator Up 32 56 76 0 0 45.8 (67.6 ± 27.7)
Stairs Down 48 0 0 124 4 56.2 (57.1 ± 31.3)
Stairs Up 48 0 0 0 124 55.3 (61.5 ± 15.8)
   H-FISnoFIT
Reference Flat 22682.6 18.7 25.7 57.6 37.7 98.4 (98.5 ± 1.7) 96.8 (96.5 ± 2.1)
Elevator Down 188.5 129.2 13.8 0 0 53.9 (71.3 ± 27.0)
Elevator Up 189.6 0 195 0 0 63.0 (72.4 ± 29.0)
Stairs Down 119 0 0 208.6 0 68.9 (60.7 ± 11.9)
Stairs Up 120.2 0 0 11.8 220.4 72.2 (73.6 ± 13.8)
  1. Walking and standing activities are separated in the confusion matrix to further characterize the error. Each confusion matrix is expressed in seconds. For the CCR and the F-score, the median and interquartile range are provided (computed across patients)