| Literature DB >> 35998014 |
Abdalrahman Alfakir1,2, Colin Arrowsmith1,3, David Burns1,3,4, Helen Razmjou1, Michael Hardisty1,4, Cari Whyne1,2,4.
Abstract
BACKGROUND: Physiotherapy is a critical element in the successful conservative management of low back pain (LBP). A gold standard for quantitatively measuring physiotherapy participation is crucial to understanding physiotherapy adherence in managing recovery from LBP.Entities:
Keywords: activity recognition; inertial measurement units; low back pain; machine learning; rehabilitation; wearables
Year: 2022 PMID: 35998014 PMCID: PMC9449825 DOI: 10.2196/38689
Source DB: PubMed Journal: JMIR Rehabil Assist Technol ISSN: 2369-2529
Figure 1ML analysis flow. (1) Class split: to determine whether posture and exercise classification tasks require distinct classifiers and whether posture-forced good/posture good can be combined into a single class. (2) Filter models: identification of the 2 ML models with the highest performance from the classifier set. (3) Hyperparameter tuning: optimization of preprocessing parameters and model-specific hyperparameters. (4) Optimization of sensor channels and inertial measurement unit combinations: performing grid search over sensor channels and inertial measurement unit combinations, in addition to practical considerations for deployment. ML: machine learning.
Demographic data collected for the participants recruited for the study (N=19).a
| Characteristic | Participants | |
| Age (years), mean (SD) | 32 (12) | |
| Body weight (kg), mean (SD) | 76 (16) | |
|
| ||
|
| Male | 12 (63) |
|
| Female | 7 (37) |
aAll participants had a healthy BMI and had no history of low back pain.
Initial averages and SDs of class-weighted F1 scores across 6-fold cross-validation for all 9 engineered feature-based models with default settings.a
| Classifier | Exercise classification | Posture classification |
| Decision tree | 0.76 (0.04) | 0.81 (0.08) |
| Random forest | 0.85 (0.04)b | 0.89 (0.08)b |
| XGBoost | 0.85 (0.04)b | 0.89 (0.07)b |
| K-nearest neighbors | 0.79 (0.04) | 0.81 (0.11) |
| Stochastic gradient descent | 0.83 (0.07) | 0.76 (0.17) |
| Linear discriminant analysis | 0.77 (0.11) | 0.59 (0.09) |
| Gaussian naive Bayes | 0.65 (0.09) | 0.72 (0.14) |
| Support vector machine | 0.81 (0.12) | 0.88 (0.09) |
| Multilayer perceptron neural network | 0.81 (0.14) | 0.76 (0.18) |
aBoth exercise and posture classification tasks are shown, with all models using all sensor channels and inertial measurement unit locations as input.
bTop classifiers.
Figure 2Average feature importance across 6-fold cross-validation for inertial measurement unit locations (y-axis) and sensor channels (x-axis). Larger values (darker blue) represent features of relatively high importance to the model. The permutation (left column) and Gini (right column) feature importances from the exercise random forest model are displayed in the top row, whereas the permutation and Gini importances for the posture random forest model are displayed in the bottom row. Importance values shown in the figure were computed by taking the sum across subchannels (eg, x, y, and z channels of acceleration) and engineered features for each subchannel. The resulting values represent the total feature importance for a given inertial measurement unit and channel combination (eg, “acceleration” and “upper back”), which were arranged in the grid shown here.
Figure 3Hyperparameter grid search considering window width and overlap for the exercise (top row) and posture (bottom row) classification tasks for the RF (left) and XGBoost (right) models. Window width is shown to have a positive impact on performance for the exercise models, whereas no improvement is seen with overlap. Clear effectiveness is not demonstrated for the posture models with respect to window width or overlap. CV: cross-validation; RF: random forest; XGB: XGBoost.
Figure 4Results of the grid search across a set of sensor channel combinations for the RF and XGBoost models for exercise and posture classification. All IMUs were used for this test. Results are reported as the mean (SD) of the F1 score across 6-fold cross-validation for each sensor channel combination. The highlighted row represents the optimized sensor channels for both exercise and posture classification. RF: random forest; XG: XGBoost.
Figure 5Results of the grid search across a set of IMU location combinations for RF and XGBoost models, classifying exercise and posture. All models were trained with the accelerometer, gyroscope, and magnetometer sensor channels. Results are reported as the mean (SD) of the F1 scores across 6-fold cross-validation for each IMU combination. The highlighted row represents the optimized sensor locations using 3 IMUs for both exercise and posture classification. Note that the bottom row containing all 8 IMUs is equivalent to the highlighted row in Figure 4. IMU: inertial measurement unit; RF: random forest; XG: XGBoost.
Figure 6Results of the grid search across a subset of IMU locations and channel combinations for the CNN classifier. All models were trained with a segment width of 300, sampling rate of 25 Hz (total segment width of 12 seconds), overlap of 50, and learning rate of 0.001. These CNN grid search results used acceleration and gyroscope sensor channels for exercise classification and only the acceleration channel for posture classification. The reported F1 scores are the average (SD) across 6-fold cross-validation, stratified based on participant. CNN: convolutional neural network; IMU: inertial measurement unit.