| Literature DB >> 28166824 |
Mark V Albert1,2,3, Yohannes Azeze4,5, Michael Courtois6, Arun Jayaraman4,7.
Abstract
BACKGROUND: Although commercially available activity trackers can aid in tracking therapy and recovery of patients, most devices perform poorly for patients with irregular movement patterns. Standard machine learning techniques can be applied on recorded accelerometer signals in order to classify the activities of ambulatory subjects with incomplete spinal cord injury in a way that is specific to this population and the location of the recording-at home or in the clinic.Entities:
Keywords: Activity recognition; Activity tracking; At-home; Incomplete spinal cord injury; Machine learning
Mesh:
Year: 2017 PMID: 28166824 PMCID: PMC5294819 DOI: 10.1186/s12984-017-0222-5
Source DB: PubMed Journal: J Neuroeng Rehabil ISSN: 1743-0003 Impact factor: 4.262
Fig. 1Experimental protocol. a At home, subjects performed the following set of physical activities in the order shown. b In the lab, subjects performed the physical activities in the displayed sequence in order to record every pair of transitions between activities. c Data from a tri-axial accelerometer was collected while performing these activities. d Data processing. A series of features were extracted from 10 s clips of data, and supervised machine learning was used to train an activity recognition classifier
Features used for activity recognition
| Description | Total number of values |
|---|---|
| Mean, absolute value of the mean | 6 |
| Moments: standard deviation, skew, kurtosis | 9 |
| Deviation, skew, kurtosis | 12 |
| Root mean square | 3 |
| Smoothed root mean square (5 pt kernel, 10 pt kernel) | 6 |
| Extremes: min, max, abs min, abs max | 12 |
| Histogram: includes counts for −4 to 4 z-score bins | 27 |
| Fourier components: 32 samples for each axis | 96 |
| Overall mean acceleration | 1 |
| Cross product means: xy, xz, yz | 3 |
| Abs mean of the cross products | 3 |
Classification matrix for in-lab activity using the SVM classifier
| Activity | Lie | Stand | Sit | Wheel | Walk | Stairs |
|---|---|---|---|---|---|---|
| Lie |
| 5 | 2 | 0 | 1 | 2 |
| Stand | 5 |
| 8 | 0 | 1 | 1 |
| Sit | 5 | 8 |
| 14 | 0 | 0 |
| Wheel | 0 | 0 | 9 |
| 0 | 1 |
| Walk | 0 | 0 | 0 | 0 |
| 8 |
| Stairs | 0 | 2 | 0 | 0 | 28 |
|
Rows correspond to true activities, columns are predicted activities. Overall accuracy 91.6% (89.9–93.2%). The highest accuracy classifier for each validation method is indicated in bold
Classification matrix for in-lab training and at-home testing using the SVM classifier
| Activity | Lie | Stand | Sit | Wheel | Walk | Stairs |
|---|---|---|---|---|---|---|
| Lie |
| 60 | 39 | 28 | 6 | 8 |
| Stand | 1 |
| 29 | 6 | 1 | 5 |
| Sit | 27 | 22 |
| 11 | 0 | 3 |
| Wheel | 36 | 30 | 9 |
| 0 | 14 |
| Walk | 3 | 6 | 3 | 11 |
| 38 |
| Stairs | 0 | 8 | 0 | 8 | 72 |
|
Note the overall accuracy of 54.6% (51.6–57.6%) - a substantial reduction from in-lab only validation. The highest accuracy classifier for each validation method is indicated in bold
Classification matrix for at-home activity using the SVM classifier
| Activity | Lie | Stand | Sit | Wheel | Walk | Stairs |
|---|---|---|---|---|---|---|
| Lie |
| 5 | 4 | 5 | 5 | 4 |
| Stand | 7 |
| 6 | 2 | 1 | 4 |
| Sit | 12 | 10 |
| 6 | 2 | 1 |
| Wheel | 5 | 0 | 3 |
| 4 | 0 |
| Walk | 1 | 0 | 3 | 0 |
| 30 |
| Stairs | 3 | 1 | 0 | 0 | 30 |
|
Overall accuracy 85.9% (83.6–87.9%)
Classification accuracy of each validation method shown in Tables 2, 3 and 4 using different classifiers
| Validation method | SVM | Naive bayes | Logisitic regression | kNN | Decision tree |
|---|---|---|---|---|---|
| Within-subject, in-lab activity | 91.2% |
| 90.8% | 86.1% | 89.6% |
| Within-subject, train in-lab, test at-home |
| 45.5% | 47.7% | 54.2% | 49.0% |
| Within-subject, at-home activity |
| 79.4% | 85.1% | 79.6% | 82.1% |
The highest accuracy classifier for each validation method is indicated in bold