Skip to main content
. 2015 Jun 8;10(6):e0128299. doi: 10.1371/journal.pone.0128299

Table 2. Confusion Matrix of the Time Spent Performing Activities Obtain from the Results of the Classification Model in CE Sessions.

Class
Walking Sitting Running Lying down Dynamic Standing Overall
Real Walking 1334 0 36 0 24
Sitting 0 2552 0 55 10
Running 60 0 478 0 0
Lying down 9 43 0 1057 15
Dynamic Standing 96 9 0 0 734
Overall Accuracy (%) a 94±4
Sensitivity (%) b 96±12 97±4 90±20 94±7 88±18
F-Score (%) c 76±16 98±2 88±18 94±6 90±11
Specificity (%) d 88±4 99±2 99±2 99±2 99±1
Kappa e 0.93±0.00
Linear Weight Kappa 0.90±0.01
Quadratic Weighted Kappa 0.87±0.01
Class
Walking Sitting Running Lying down Dynamic Standing Overall
Real Walking 1334 0 36 0 24
Sitting 0 2552 0 55 10
Running 60 0 478 0 0
Lying down 9 43 0 1057 15
Dynamic Standing 96 9 0 0 734
Overall Accuracy (%) a 94±4
Sensitivity (%) b 96±12 97±4 90±20 94±7 88±18
F-Score (%) c 76±16 98±2 88±18 94±6 90±11
Specificity (%) d 88±4 99±2 99±2 99±2 99±1
Kappa e 0.93±0.00
Linear Weight Kappa 0.90±0.01
Quadratic Weighted Kappa 0.87±0.01

a Overall accuracy is the mean proportion of all activities that are correctly classified per person

b Sensitivity corresponds to the chances of classifying an activity as positive when it is indeed positive

c F-Score is defined as the "harmonic mean between sensitivity and positive predictive values" [18]

d Specificity is a measure of chances of classifying an activity as negative when they are truly negative

e Cohen’s Kappa is the measure of the agreement between the real activity and the classifications