| Literature DB >> 33182813 |
Esther Fridriksdottir1, Alberto G Bonomi1.
Abstract
The objective of this study was to investigate the accuracy of a Deep Neural Network (DNN) in recognizing activities typical for hospitalized patients. A data collection study was conducted with 20 healthy volunteers (10 males and 10 females, age = 43 ± 13 years) in a simulated hospital environment. A single triaxial accelerometer mounted on the trunk was used to measure body movement and recognize six activity types: lying in bed, upright posture, walking, wheelchair transport, stair ascent and stair descent. A DNN consisting of a three-layer convolutional neural network followed by a long short-term memory layer was developed for this classification problem. Additionally, features were extracted from the accelerometer data to train a support vector machine (SVM) classifier for comparison. The DNN reached 94.52% overall accuracy on the holdout dataset compared to 83.35% of the SVM classifier. In conclusion, a DNN is capable of recognizing types of physical activity in simulated hospital conditions using data captured by a single tri-axial accelerometer. The method described may be used for continuous monitoring of patient activities during hospitalization to provide additional insights into the recovery process.Entities:
Keywords: deep learning; human activity recognition (HAR); multiclass classification; patient monitoring; wearable sensors
Mesh:
Year: 2020 PMID: 33182813 PMCID: PMC7697281 DOI: 10.3390/s20226424
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Activities used in the study protocol, with corresponding class labels and duration per participant. 6-MWT stands for 6-minute walk test.
| Activity Label | Class Label | Duration (mm:ss) |
|---|---|---|
|
| ||
| Lie supine | Lying in bed | 3:00 |
| Lie left | Lying in bed | 0:30 |
| Lie right | Lying in bed | 0:30 |
| Restless in bed | Lying in bed | 1:00 |
| Physiotherapy in bed | Lying in bed | 1:00 |
| Reclined | Lying in bed | 0:30 |
| Upright | Upright | 0:30 |
| Sitting edge of bed | Upright | 0:30 |
| Standing next to bed | Upright | 0:30 |
|
| ||
| 0.4 km/h | Walking | 2:00 |
| 0.6 km/h | Walking | 2:00 |
| 0.8 km/h | Walking | 2:00 |
| 1.0 km/h | Walking | 2:00 |
| 1.2 km/h | Walking | 2:00 |
| 1.5 km/h | Walking | 2:00 |
| 2.0 km/h | Walking | 2:00 |
| 3.0 km/h | Walking | 2:00 |
| 4.0 km/h | Walking | 2:00 |
| Ebbeling | Walking | ∼10:00 |
|
| ||
| Dressing/undressing | Upright | 1:00 |
| Reading | Upright | 1:00 |
| Physiotherapy on a chair | Upright | 1:00 |
| Eating/drinking | Upright | 1:00 |
| Sit-to-Stand transitions | Upright | 1:00 |
|
| ||
| Patient transport in wheelchair | Upright | 1:00 |
| Washing hands brushing teeth | Upright | 1:00 |
| Crutches | Walking | 1:00 |
| Anterior walker | Walking | 1:00 |
| IV pole | Walking | 1:00 |
| 4-wheel rollator | Walking | 1:00 |
| Self propelled wheelchair | Wheelchair | 1:00 |
| 6-MWT | Walking | 6:00 |
|
| ||
| Stair ascent one leg injured | Stair ascent | 1:00 |
| Stair descent one leg injured | Stair descent | 1:00 |
| Stair ascent | Stair ascent | 1:00 |
| Stair descent | Stair descent | 1:00 |
Figure 1Flowchart showing the difference between handling the acceleration segments when using a feature-based machine learning classifier, in this case a support vector machine (SVM), and a deep neural network (DNN).
Figure 2Model architecture of the deep neural network. Acceleration segments with dimension , where N represents number of segments, were used as input. Batch normalization layers are not shown for simplicity. The dimensions of the feature maps before each feature extraction layer are noted below the layers.
The features extracted from each acceleration segment. Each feature was extracted from four signals; the x-, y-, z-acceleration and the acceleration magnitude.
| Feature | Description |
|---|---|
| Mean | Mean value of the vector |
| Absolute mean | Mean of absolute values in the vector |
| Median | Median value of the vector |
| Mean absolute deviation | Mean absolute deviation of the vector |
| Standard deviation | Standard deviation of the vector |
| Variance | Variance of the vector |
| Minimum value | Lowest value in the vector |
| Maximum value | Highest value in the vector |
| Full range | Difference between the maximum and minimum value of the vector |
| Interquartile range | Difference between the 1st and 3rd quartile |
| Area | Sum of all values in the vector |
| Absolute area | Sum of all absolute values in the vector |
| Energy | Sum of squared components of the vector |
| Correlation | Correlation coefficients between each pair of vectors |
| Skewness | Shape of distribution |
| Kurtosis | Shape of distribution |
| Spectral entropy | A measure of the complexity of a signal |
| Spectral centroid | Mean of fourier transform |
| Spectral variance | Variance of fourier transform |
| Spectral skewness | Skewness of fourier transform |
| Spectral kurtosis | Kurtosis of fourier transform |
Classification performance of the deep neural network (DNN) and support vector machine (SVM) on holdout data. Precision, recall and F1-scores are reported as weighted averages.
| Accuracy | Precision | Recall | F1-Score | |
|---|---|---|---|---|
| DNN | 0.9452 | 0.9507 | 0.9452 | 0.9464 |
| SVM | 0.8335 | 0.8919 | 0.8335 | 0.8507 |
Figure 3Learning curves during training of the deep neural network (DNN). (a) Accuracy of the training and validation data, (b) loss of the training and validation data.
Figure 4Normalized confusion matrices on holdout data of (a) the deep neural network (DNN) and (b) the support vector machine (SVM) classifier.
Figure 5Percentage of wrong predictions per activity by (a) the deep neural network (DNN) and (b) the support vector machine (SVM). The colors represent the wrongly predicted class.
Figure 6Predictions of the deep neural network (DNN) when the whole recording session of one subject is passed into the model. The grey areas represent unlabelled activities, which were not included when training the model.