Have a personal or library account? Click to login
Impact of Sensor-Axis Combinations on Machine Learning Accuracy for Human Activity Recognition Using Accelerometer Data in Clinical Settings Cover

Impact of Sensor-Axis Combinations on Machine Learning Accuracy for Human Activity Recognition Using Accelerometer Data in Clinical Settings

Open Access
|May 2025

Figures & Tables

paah-9-1-441-g1.png
Figure 1

Axis combinations investigated in this study. The ActiGraph GT9X Link is equipped with an accelerometer, a gyroscope, and a magnetometer. The relationship between axis combination and activity classification accuracy was evaluated.

paah-9-1-441-g2.png
Figure 2

Waveform data depicting sensor readings from two distinct body locations. The nondominant wrist data are represented by the red line; the chest data are denoted by the green line. Labels (0–9) correspond to specific physical activities: 0, lying in a supine position; 1, standing; 2, sitting; 3, eating; 4, brushing teeth; 5, using the restroom; 6, walking; 7, ascending or descending the stairs; 8, running; and 9, other movements. (a) x-axis acceleration measurements. (b) x-axis angular velocity recordings. (c) x-axis magnetic field intensity observations.

Table 1

Evaluation results of the nondominant wrist classifier.

ACCGYRMAGACC_GYRACC_MAGGYR_MAGACC_GYR_MAG
Lying in the supine positionPrecision0.94620.76960.51480.95100.95110.82870.9446
Recall0.96350.68890.59420.96860.97910.82500.9737
F-value0.94960.69470.54020.95560.96140.81830.9552
StandingPrecision0.91760.76980.50380.92980.93160.88430.9350
Recall0.93530.84100.56410.94850.94040.83310.9459
F-value0.91860.78900.49750.92720.92610.81920.9306
SittingPrecision0.80870.69780.41600.85780.76250.81500.9171
Recall0.80260.74250.49490.82820.76180.81150.8690
F-value0.78120.69840.42690.82580.75090.78940.8769
EatingPrecision0.85940.64570.73530.85710.85060.71690.8650
Recall0.88290.79300.72260.90930.89040.82250.9068
F-value0.85760.70530.69820.86840.85430.75250.8712
Brushing teethPrecision0.78000.88050.41990.84390.79450.82870.8433
Recall0.74420.85150.39210.78760.73930.84100.7979
F-value0.75240.84860.36400.80130.75450.83160.8104
Using the restroomPrecision0.67730.58620.73840.70430.74410.77640.7904
Recall0.64840.40750.71730.65440.77820.66810.7634
F-value0.64440.46460.71270.66400.73760.69210.7588
WalkingPrecision0.87810.79930.74270.87610.91700.84360.9295
Recall0.83100.76200.80970.86320.90330.84650.9010
F-value0.82410.74210.76750.84130.90170.83140.9039
Ascending or descending the stairsPrecision0.86340.73140.81180.87210.91050.83260.8979
Recall0.84180.72370.85270.83330.89470.83240.8920
F-value0.83740.71140.82870.84130.89760.82690.8890
RunningPrecision0.99740.90050.84610.99740.99740.92470.9974
Recall0.98970.90320.87290.98970.98970.90340.9897
F-value0.99260.88350.85490.99260.99260.89680.9926
Other movementsPrecision0.62560.56140.57040.66040.72100.69620.7316
Recall0.65740.57130.47830.69440.73220.65390.7423
F-value0.62560.55470.49030.66240.70380.65860.7192
paah-9-1-441-g3.png
Figure 3

F-value comparison of different accelerometer axes combinations with respect to each activity. (a) Accelerometer attached to the nondominant wrist. (b) Accelerometer attached to the chest.

Table 2

Evaluation results of the chest classifier.

ACCGYRMAGACC_GYRACC_MAGGYR_MAGACC_GYR_MAG
Lying in the supine positionPrecision0.99220.63410.80430.99220.99220.79970.9956
Recall1.00000.63800.79231.00001.00000.81541.0000
F-value0.99560.62820.77000.99560.99560.78550.9976
StandingPrecision0.56400.59380.82190.64550.83450.79810.8528
Recall0.59510.62120.87560.68740.86410.84590.8675
F-value0.54340.56470.81390.63330.81180.79050.8094
SittingPrecision0.54800.55380.78340.60190.74960.71200.8119
Recall0.54100.56600.78460.61030.78210.69490.7667
F-value0.50320.50700.72950.56240.75550.66910.7591
EatingPrecision0.64440.69700.63230.73150.80370.80950.8442
Recall0.68840.75620.58810.74080.75160.79330.8161
F-value0.65130.70690.58750.72300.75580.77740.8187
Brushing teethPrecision0.92710.85180.73780.91120.92820.88970.9386
Recall0.87310.84660.73420.88250.89680.89040.9171
F-value0.88610.83530.69170.88200.89980.88010.9224
Using the restroomPrecision0.66060.57770.83770.70060.85430.84050.8567
Recall0.58410.41170.80740.61780.87680.80680.8569
F-value0.58760.46270.80280.63370.84910.80960.8420
WalkingPrecision0.93710.85270.80530.97110.96060.88760.9761
Recall0.94540.70200.90820.93540.95470.90990.9593
F-value0.93580.72190.84860.93620.95410.89120.9661
Ascending or descending the stairsPrecision0.95180.74270.93020.93830.96420.89650.9532
Recall0.93310.87110.90780.96010.96790.91170.9785
F-value0.93600.77850.91440.94220.96430.89930.9641
RunningPrecision0.99560.99060.92630.99521.00000.99061.0000
Recall0.97500.99470.93740.98610.97500.99740.9889
F-value0.97760.99230.92830.98880.98000.99370.9933
Other movementsPrecision0.64760.61790.67950.70250.78150.72130.7917
Recall0.63890.56840.57620.69800.75770.65480.7777
F-value0.61860.57410.60810.68860.75810.67250.7739
paah-9-1-441-g4.png
Figure 4

Confusion matrices comparing anticipated and actual activities, based on data from the nondominant wrist-mounted sensor. The vertical entries represent the actual activities performed, and horizontal entries depict the activities inferred by the activity recognition classifier. (a) Gyroscope. The orange highlights denote errors in distinguishing between using the restroom, sitting, eating, and other movements. (b) Magnetometer. The purple highlights denote errors in distinguishing between brushing teeth, lying in a supine position, standing, sitting, and eating. (c) Gyroscope and magnetometer. The orange and purple highlights signify enhanced recognition precision when contrasted with (a) and (b), respectively.

paah-9-1-441-g5.png
Figure 5

Confusion matrices comparing anticipated and actual activities based on data from the chest-mounted sensor. (a) Accelerometer. The green highlight denotes errors in distinguishing between standing and sitting. (b) Gyroscope. The blue highlight denotes errors in distinguishing between lying in the supine position, standing, and sitting. The orange highlight denotes errors in distinguishing between using the restroom, sitting, eating, and other movements. The red highlight denotes errors in distinguishing between walking and ascending or descending the stairs. (c) Magnetometer. The light blue highlight denotes errors in distinguishing between eating, brushing teeth, and using the restroom. (d) Accelerometer and gyroscope. The blue and red highlights signify enhanced recognition precision when contrasted with (b). (e) Accelerometer and magnetometer. The green highlight signifies enhanced recognition precision when contrasted with (a). (f) Gyroscope and magnetometer. The orange and light blue highlights signify enhanced recognition precision when contrasted with (b) and (c), respectively.

DOI: https://doi.org/10.5334/paah.441 | Journal eISSN: 2515-2270
Language: English
Submitted on: Feb 12, 2025
|
Accepted on: Apr 21, 2025
|
Published on: May 9, 2025
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2025 Takahiro Yamane, Moeka Kimura, Mizuki Morita, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.