| Literature DB >> 25885272 |
Nicole A Capela1, Edward D Lemaire2, Natalie Baddour3.
Abstract
Human activity recognition (HAR), using wearable sensors, is a growing area with the potential to provide valuable information on patient mobility to rehabilitation specialists. Smartphones with accelerometer and gyroscope sensors are a convenient, minimally invasive, and low cost approach for mobility monitoring. HAR systems typically pre-process raw signals, segment the signals, and then extract features to be used in a classifier. Feature selection is a crucial step in the process to reduce potentially large data dimensionality and provide viable parameters to enable activity classification. Most HAR systems are customized to an individual research group, including a unique data set, classes, algorithms, and signal features. These data sets are obtained predominantly from able-bodied participants. In this paper, smartphone accelerometer and gyroscope sensor data were collected from populations that can benefit from human activity recognition: able-bodied, elderly, and stroke patients. Data from a consecutive sequence of 41 mobility tasks (18 different tasks) were collected for a total of 44 participants. Seventy-six signal features were calculated and subsets of these features were selected using three filter-based, classifier-independent, feature selection methods (Relief-F, Correlation-based Feature Selection, Fast Correlation Based Filter). The feature subsets were then evaluated using three generic classifiers (Naïve Bayes, Support Vector Machine, j48 Decision Tree). Common features were identified for all three populations, although the stroke population subset had some differences from both able-bodied and elderly sets. Evaluation with the three classifiers showed that the feature subsets produced similar or better accuracies than classification with the entire feature set. Therefore, since these feature subsets are classifier-independent, they should be useful for developing and improving HAR systems across and within populations.Entities:
Mesh:
Year: 2015 PMID: 25885272 PMCID: PMC4401457 DOI: 10.1371/journal.pone.0124414
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Participant characteristics (mean and standard deviation).
| Group | Number of Participants | Age (years) | Sex (% male) | Height (cm) | Weight (kg) |
|---|---|---|---|---|---|
| Able-body | 15 | 26 ± 8.9 | 67 | 173.9 ± 11.4 | 68.9 ± 11.1 |
| Elderly | 17 | 74 ± 6.3 | 70 | 166.7 ± 9.3 | 69.6 ± 14.6 |
| Stroke | 12 | 54 ± 8.9 | 55 | 170.8 ± 5.5 | 82.7 ± 12.6 |
Features derived from raw sensor data.
| Feature # | Feature Description |
|---|---|
| 1 | Sum of range of linear acceleration |
| 2 | Sum of standard deviation of linear acceleration |
| 3 | Simple moving average of sum of range of linear acceleration |
| 4 | Difference to |
| 5, 6, 7 | Range of gravity vector ( |
| 8,9,10 | Mean of gravity vector ( |
| 11,12,13 | Range of linear acceleration ( |
| 14,15,16 | Mean of linear acceleration ( |
| 17,18,19 | Kurtosis of gravity vector ( |
| 20 | Sum of Kurtosis of gravity vector |
| 21 | Sum of standard deviation of linear acceleration |
| 22 | Sum of variances gravity (summed diagonal of covariance matrix) |
| 23 | Simple moving average of sum of variances |
| 24 | Maximum slope of simple moving average of sum of variances |
| 25–30 | Covariance matrix elements of gravity vector |
| 31–36 | Covariance matrix elements of linear acceleration vector |
| 37–42 | Covariance matrix elements of rotated linear acceleration vector [ |
| 43 | Velocity from integral of rotated linear acceleration1 (excluding |
| 44 | Velocity for |
| 45,46,47 | Mean Euclidean norm (Linear, rotated linear1, raw acceleration) |
| 48,49,50 | Skewness of rotated linear acceleration ( |
| 51,52,53 | Moving average of skewness of rotated linear acceleration ( |
| 54 | Sum of moving average of skewness ( |
| 55 | Range of rotated linear acceleration ( |
| 56 | Moving average of distance from rotated linear acceleration1 |
| 57,58,59 | Mean absolute linear acceleration ( |
| 60,61,62 | Harmonic mean linear acceleration ( |
| 63,64,65 | Cumulative sum linear acceleration ( |
| 66 | Correlation between acceleration along gravity and heading |
| 67 | Average velocity in gravity direction |
| 68 | Average velocity in heading direction |
| 69,70,71 | Gyroscope mean ( |
| 72,73,74 | Interquartile range linear acceleration ( |
| 75 | Zero cross rate |
| 76 | Mean cross rate |
Class distributions at each level.
| Level | Class | Number of instances |
|---|---|---|
| 1 | Immobile | 12841 |
| 1 | Mobile | 17607 |
| 2 | Stand | 4072 |
| 2 | Sit | 2756 |
| 3 | Stand | 8649 |
| 3 | Sit | 2808 |
| 3 | Lie | 1353 |
| 4 | Large Movements | 16720 |
| 4 | Stairs | 887 |
| 5 | Large Movements | 15262 |
| 5 | Stairs up | 582 |
| 5 | Stairs down | 458 |
| 5 | Ramp up | 438 |
| 5 | Ramp down | 346 |
| 6 | Small moves | 4577 |
| 6 | None | 8233 |
Features selected for able bodied participants.
| Level | CFS | FCBF | Relief-F |
|---|---|---|---|
| 1 | 3, 6, 12, 23, 27, 39, 43, 64, 66, 70, 71, 73 | 3, 6, 27, 39, 64, 66 | 1, 2, 10, 11, 12, 15, 21, 33, 54, 58 |
| 2 | 10, 18, 23, 47 | 10, 18, 23, 47 | 7, 12, 18, 20,23, 52, 58, 65, 66, 73, |
| 3 | 4, 9, 10, 42, 68 | 4, 9, 10, 42, 68 | 17, 34, 42, 44, 52, 57, 60, 61, 712, 76 |
| 4 | 3, 4, 7, 8, 14, 15, 23, 24, 25, 29, 34, 42, 48, 52, 57, 68 | 1, 8, 14, 15, 17, 29, 52 | 35, 48, 51, 52, 57, 60, 65, 66, 70, 75 |
| 5 | 4, 5, 7, 10, 23, 28, 29, 39, 42, 56 | 4, 20, 28, 39 | 11, 16, 29,36, 42, 59, 64, 76 |
| 6 | 3, 4, 9, 10, 11, 35, 37, 47, 48, 52, 56, 61, 712, 64, 70 | 10, 37 | 13, 44, 49, 46, 48, 52, 58, 65, 72, 76 |
| 7 | 3, 23, 24, 47, 68 | 8 | 7, 11, 17, 18, 20, 48, 49, 50, 55, 75 |
Features selected for senior participants.
| Level | CFS | FCBF | Relief-F |
|---|---|---|---|
| 1 | 3, 7, 12, 22, 23, 25, 33, 35, 38, 44, 44, 57, 55, 56, 58, 58, 64, 66, 70, 71, 73, 74 | 25, 56, 58 | 15, 16,19, 44, 56,57, 59, 65, 66, 75 |
| 2 | 4, 10, 15, 24, 44 | 10, 15, 24, 28 | 1, 2, 3, 7, 11, 27, 30, 66, 67, 71 |
| 3 | 4, 10, 42, 45 | 4, 10, 42 | 16, 32, 47, 57, 56, 58,712, 64, 65, 76 |
| 4 | 4, 9, 10, 15, 20, 23, 24, 25, 27, 29, 38, 41, 44, 47, 48, 49, 52, 54, 66, 68 | 4, 29, 39, 44, 52, 61 63, 66 | 1, 12, 14, 18, 49, 50, 52, 63, 66, 76 |
| 5 | 4, 22, 24, 25, 29, 43, 44, 49, 52, 54, 66 | 4, 29, 42, 43, 44, 52 | 12, 14, 25, 40, 42, 63, 64, 67, 71, 72 |
| 6 | 3, 4, 8, 10, 11, 51, 56, 60, 61, 70, 72, 76 | 4, 11 | 22, 27, 43, 57, 56, 66, 68, 69, 73, 75 |
| 7 | 9, 44, 45, 48, 51, 72 | 4 | 13, 14, 15, 19, 40, 44, 50, 64, 67, 72 |
Features selected for stroke participants.
| Level | CFS | FCBF | Relief-F |
|---|---|---|---|
| 1 | 3, 5, 6, 23, 25, 32, 38, 43, 49, 57, 56, 61, 68, 69, 70, 71, 74, 76 | 3, 25, 27, 32, 57, 61, 63, 65, 66, 76 | 7, 45, 48, 52, 54, 55, 56, 61, 66, 68 |
| 2 | 9, 10, 38, 47, 66, 68 | 26, 66, 70 | 1, 2, 5, 11, 12, 13, 14, 15, 28 |
| 3 | 4, 10, 44, 67 726: | 10, 44 | 17, 18, 20, 44, 50, 51, 57, 64, 65 |
| 4 | 4, 18, 24, 29, 31, 47, 48, 52, 56 | 18, 24, 52, 56 | 14, 17, 19, 35, 37, 39, 41, 48, 63 |
| 5 | 3, 4, 7, 10, 16, 17, 18, 20, 24, 25, 29, 39, 47, 48, 47, 54, 56, 58, 59 | 10, 20, 29, 39, 63 | 2, 5, 21, 33, 34, 49, 46, 59, 74 |
| 6 | 10, 30, 47, 48, 67, 70, 72 | 70, 76 | 15, 17, 18, 20, 44, 49, 51, 57, 65 |
| 7 | 47, 48 | 30 | 11, 15, 43, 44, 49, 55, 58, 72, 76 |
Common features selected across populations using CFS.
| Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 |
|---|---|---|---|---|---|---|
|
| ||||||
| 3, 12, 23, 64, 66, 70, 71, 73 | 10 | 4, 10, 42 | 4, 15, 23, 24, 25, 29, 52, 68 | 4, 29 | 3, 4, 10, 11, 56, 61, 70 | n/a |
|
| ||||||
| 3, 6, 23, 43, 70, 71 | 10 | 4, 10 | 4, 24, 29, 52 | 4, 7, 10, 29, 39, 56 | 10, 70 | n/a |
|
| ||||||
| 3, 23, 25, 38, 57, 56, 70, 71, 74 | 10 | 4, 10 | 4, 24, 29, 52 | 4, 24, 25, 29, 54 | 10, 70, 72 | n/a |
|
| ||||||
| 3, 23, 70, 71 | 10 | 4, 10 | 4, 24, 29, 52 | 4, 29 | 10, 70 | n/a |
Classifier accuracy with all features and with selected feature subset using CFS.
| Features | Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 | |
|---|---|---|---|---|---|---|---|---|
| Able bodied | ||||||||
| Bayes | All | 97.31 | 94.93 | 77.93 | 72.32 | 85.58 | 78.16 | 20.11 |
| Selected | 97.52 | 95.62 | 94.42 | 81.94 | 94.32 | 82.72 | 21.87 | |
| Sig | 0.146 | 0.754 |
|
|
| 0.118 | 0.180 | |
| SVM | All | 63.62 | 74.05 | 73.47 | 84.97 | 94.90 | 72.06 | 22.50 |
| Selected | 86.79 | 96.70 | 88.12 | 84.97 | 94.90 | 78.72 | 20.25 | |
| Sig |
|
|
| 1.000 | 1.000 | 0.180 | 0.549 | |
| j48 | All | 94.69 | 96.85 | 95.02 | 71.38 | 90.52 | 78.16 | 20.36 |
| Selected | 97.27 | 96.40 | 95.07 | 75.24 | 92.80 | 81.97 | 22.04 | |
| Sig | 0.581 | 1.000 | 0.109 | 0.035 | 1.000 | 0.302 | 0.791 | |
| Senior | ||||||||
| Bayes | All | 94.45 | 86.75 | 79.02 | 76.57 | 91.57 | 82.61 | 17.85 |
| Selected | 95.08 | 85.54 | 88.88 | 89.56 | 94.73 | 87.44 | 24.50 | |
| Sig |
| 1.000 |
|
|
|
|
| |
| SVM | All | 65.57 | 67.81 | 70.14 | 91.07 | 94.49 | 67.14 | 18.38 |
| Selected | 88.42 | 77.82 | 70.45 | 91.07 | 94.51 | 63.35 | 21.48 | |
| Sig |
| 0.143 | 0.210 | 1.000 | 1.000 | 0.143 | 0.332 | |
| j48 | All | 94.37 | 81.12 | 87.31 | 85.39 | 93.92 | 84.05 | 22.84 |
| Selected | 94.78 | 80.87 | 85.87 | 87.68 | 94.55 | 83.51 | 23.19 | |
| Sig | 0.143 | 0.454 | 0.049 | 0.210 | 0.629 | 0.629 | 0.804 | |
| Stroke | ||||||||
| Bayes | All | 96.18 | 76.35 | 77.88 | 74.31 | 83.05 | 75.42 | 26.98 |
| Selected | 96.49 | 82.49 | 86.61 | 85.66 | 90.69 | 83.18 | 29.52 | |
| Sig | 0.039 | 0.180 | 0.012 | 0.012 | 0.012 | 0.227 | 0.344 | |
| SVM | All | 67.14 | 61.02 | 66.38 | 90.59 | 95.97 | 64.09 | 26.58 |
| Selected | 92.07 | 55.57 | 65.35 | 90.59 | 95.97 | 66.85 | 29.73 | |
| Sig |
| 0.125 | 1.000 | 1.000 | 1.000 | 1.000 | 0.065 | |
| j48 | All | 94.56 | 81.63 | 82.90 | 81.87 | 93.00 | 79.52 | 22.09 |
| Selected | 95.20 | 84.07 | 80.23 | 85.89 | 94.76 | 77.37 | 23.40 | |
| Sig | 0.549 | 1.000 | 1.000 | 0.549 | 1.000 | 1.000 | 0.549 | |
| All Populations | ||||||||
| Bayes | All | 95.62 | 84.81 | 78.36 | 76.74 | 87.18 | 78.26 | 11.97 |
| Selected | 96.02 | 85.99 | 89.00 | 84.19 | 92.17 | 84.01 | 22.28 | |
| Sig |
| 0.617 | 0.165 | 1.000 | 1.000 |
| 0.522 | |
| SVM | All | 66.90 | 68.38 | 70.76 | 88.82 | 95.01 | 68.59 | 21.35 |
| Selected | 90.59 | 67.59 | 72.82 | 88.82 | 95.01 | 77.99 | 21.51 | |
| Sig | 0.029 | 1.000 | 0.118 | 0.874 | 0.871 | 0.877 | 0.127 | |
| j48 | All | 94.97 | 86.20 | 89.53 | 83.02 | 92.65 | 81.83 | 20.98 |
| Selected | 95.84 | 85.30 | 88.52 | 84.01 | 93.16 | 82.44 | 20.12 | |
| Sig | 0.549 | 1.000 | 0.754 | 0.065 | 0.549 | 1.000 | 0.227 | |
Bold cells show significant differences after correction for multiple tests.
Confusion Tables for all populations at Level 3 using all features and feature subsets selected by CFS (each instance represents 1 second).
| Bayes | SVM | j48 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Features | Class | Stand | Sit | Lie | Stand | Sit | Lie | Stand | Sit | Lie |
| All | Stand | 2135 | 219 | 7 | 2576 | 468 | 221 | 2522 | 52 | 1 |
| Sit | 441 | 635 | 0 | 0 | 388 | 0 | 54 | 804 | 2 | |
| Lie | 0 | 2 | 404 | 0 | 0 | 190 | 0 | 0 | 408 | |
| CFS subset | Stand | 2526 | 240 | 0 | 2546 | 47 | 8 | 2544 | 72 | 1 |
| Sit | 50 | 612 | 3 | 30 | 809 | 0 | 32 | 784 | 1 | |
| Lie | 0 | 4 | 408 | 0 | 0 | 403 | 0 | 0 | 409 | |
Common features between populations using FCBF.
| Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 |
|---|---|---|---|---|---|---|
|
| ||||||
| n/a | 10 | 10, 4, 42 | 29, 52 | 4 | n/a | n/a |
|
| ||||||
| 3, 27, 66 | n/a | 10 | 52 | 39, 20 | n/a | n/a |
|
| ||||||
| 25 | n/a | 10 | 52 | 29 | n/a | n/a |
|
| ||||||
| n/a | n/a | 10 | 52 | n/a | n/a | n/a |
Classifier accuracy with all features and with selected feature subset using FCBF.
| Features | Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 | |
|---|---|---|---|---|---|---|---|---|
| Able bodied | ||||||||
| Bayes | All | 97.31 | 94.93 | 77.93 | 72.32 | 85.58 | 78.16 | 20.11 |
| Selected | 97.43 | 95.62 | 94.42 | 82.90 | 94.83 | 78.01 | 21.26 | |
| Sig | 0.549 | 0.754 |
|
| 0.035 | 0.607 | 0.791 | |
| SVM | All | 63.62 | 74.05 | 73.47 | 84.97 | 94.90 | 72.06 | 22.50 |
| Selected | 82.84 | 96.70 | 88.12 | 84.56 | 94.70 | 72.05 | 17.41 | |
| Sig |
|
|
| 0.031 | 0.031 | 1.000 |
| |
| j48 | All | 94.69 | 96.85 | 95.02 | 71.38 | 90.52 | 78.16 | 20.36 |
| Selected | 97.12 | 96.40 | 95.07 | 77.80 | 93.73 | 77.84 | 16.24 | |
| Sig | 0.581 | 1.000 | 0.109 | 0.180 | 0.302 | 0.791 | 0.607 | |
| Senior | ||||||||
| Bayes | All | 94.45 | 86.75 | 79.02 | 76.57 | 91.57 | 82.61 | 17.85 |
| Selected | 95.51 | 84.24 | 88.88 | 92.09 | 95.82 | 85.75 | 24.49 | |
| Sig |
| 1.000 |
|
|
| 0.049 | 0.210 | |
| SVM | All | 65.57 | 67.81 | 70.14 | 91.07 | 94.49 | 67.14 | 18.38 |
| Selected | 88.51 | 72.37 | 70.45 | 91.07 | 94.30 | 62.79 | 21.13 | |
| Sig |
| 0.454 | 0.210 | 1.000 | 0.039 | 0.332 | 0.332 | |
| j48 | All | 94.37 | 81.12 | 87.31 | 85.39 | 93.92 | 84.05 | 22.84 |
| Selected | 94.93 | 86.52 | 85.87 | 87.56 | 93.96 | 84.23 | 19.57 | |
| Sig | 0.077 | 0.332 | 0.049 | 0.332 | 1.000 | 1.000 | 0.210 | |
| Stroke | ||||||||
| Bayes | All | 96.18 | 76.35 | 77.88 | 74.31 | 83.05 | 75.42 | 26.98 |
| Selected | 96.72 | 76.34 | 81.34 | 88.17 | 95.35 | 75.80 | 31.48 | |
| Sig | 0.021 | 0.227 | 1.000 |
|
| 1.000 | 0.109 | |
| SVM | All | 67.14 | 61.02 | 66.38 | 90.59 | 95.97 | 64.09 | 26.58 |
| Selected | 77.31 | 70.81 | 64.75 | 88.97 | 95.95 | 73.40 | 24.57 | |
| Sig |
| 0.344 | 0.549 |
| 0.109 | 0.065 | 0.549 | |
| j48 | All | 94.56 | 81.63 | 82.90 | 81.87 | 93.00 | 79.52 | 22.09 |
| Selected | 95.66 | 88.13 | 79.61 | 87.66 | 94.32 | 76.96 | 24.76 | |
| Sig | 1.000 | 0.754 | 0.065 | 0.549 | 1.000 | 1.000 | 0.227 | |
| All populations | ||||||||
| Bayes | All | 95.62 | 84.81 | 78.36 | 76.74 | 87.18 | 78.26 | 11.97 |
| Selected | 96.27 | 80.75 | 88.09 | 88.88 | 94.29 | 79.34 | 19.70 | |
| Sig |
| 0.061 |
|
|
| 0.360 |
| |
| SVM | All | 66.90 | 68.38 | 70.76 | 88.82 | 95.01 | 68.59 | 21.35 |
| Selected | 90.44 | 73.76 | 88.02 | 87.58 | 94.67 | 77.28 | 19.96 | |
| Sig |
| 0.118 |
|
|
|
| 0.877 | |
| j48 | All | 94.97 | 86.20 | 89.53 | 83.02 | 92.65 | 81.83 | 20.98 |
| Selected | 96.04 | 86.20 | 88.80 | 86.73 | 94.62 | 80.20 | 17.63 | |
| Sig | 0.021 | 0.417 | 0.082 |
| 0.268 | 0.200 | 0.090 | |
Bold cells show significant differences after correction for multiple tests.
Common features ranked in the top ten across populations using Relief-F.
| Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 |
|---|---|---|---|---|---|---|
|
| ||||||
| 15 | 66, | 76, 62 | 66, 52 | 64,42 | n/a | 50 |
|
| ||||||
| 54 | 12 | 17 | 35, 48, 75 | 59 | 44, 48, 65 | 11, 49, 55, 75 |
|
| ||||||
| 56, 66 | 1,2,11 | 57, 64 | 14, 63 | n/a | 57 | 15, 44, 72 |
|
| ||||||
| n/a | n/a | n/a | n/a | n/a | n/a | n/a |