{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,27]],"date-time":"2026-08-27T04:20:10Z","timestamp":1787804410163,"version":"build-2784847793"},"reference-count":43,"publisher":"MDPI AG","issue":"17","license":[{"start":{"date-parts":[[2026,8,25]],"date-time":"2026-08-25T00:00:00Z","timestamp":1787616000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"crossref","award":["R21HD106132"],"award-info":[{"award-number":["R21HD106132"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"crossref"}]},{"award":["R21HD106132"],"award-info":[{"award-number":["R21HD106132"]}],"id":[{"id":"https:\/\/ror.org\/045p44t13","id-type":"ROR","asserted-by":"publisher"}]},{"name":"National Science Foundation","award":["2426658"],"award-info":[{"award-number":["2426658"]}]},{"name":"National Science Foundation","award":["2426659"],"award-info":[{"award-number":["2426659"]}]},{"award":["2426658"],"award-info":[{"award-number":["2426658"]}],"id":[{"id":"https:\/\/ror.org\/021nxhr62","id-type":"ROR","asserted-by":"publisher"}]},{"award":["2426659"],"award-info":[{"award-number":["2426659"]}],"id":[{"id":"https:\/\/ror.org\/021nxhr62","id-type":"ROR","asserted-by":"publisher"}]},{"name":"NICHD\/National Center for Medical Rehabilitation Research","award":["R25HD105583"],"award-info":[{"award-number":["R25HD105583"]}]},{"name":"NICHD\/National Center for Medical Rehabilitation Research","award":["T32HD101395"],"award-info":[{"award-number":["T32HD101395"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Machine learning (ML) algorithms can be used to extract clinically meaningful information from movement data captured by inertial measurement units (IMUs), but many human activity recognition (HAR) pipelines are developed on large laboratory datasets that may not reflect small, heterogeneous, real-world samples. The purpose of this study is to systematically compare the accuracy of multiple ML models, feature sets (both simple and expanded), class balancing strategies, null and transition period handling techniques, and sensor configurations for recognizing a set of four everyday activities extracted from IMU time series data from an age-diverse population. Six ML classifiers were trained and tested: multilayer perceptron, random forest, k-nearest neighbors, logistic regressor, CatBoost, and gaussian naive bayes. These approaches were used in a pipeline with differing sampling techniques including the synthetic minority oversampling technique or random undersampling, and feature handling steps including principal component analysis or a Select-From-Model metatransformer. Additionally, two deep learning methods, DeepConvLSTM and ResGCNN, were trained and tested. Accuracy, precision, recall, and area under the receiver operating characteristic curve were compared to a dummy classifier as a benchmark approximation to chance performance. All pipelines performed better than the dummy classifier, with model accuracy ranging between 0.427 and 0.644. This study demonstrated the ability of several ML algorithms to properly recognize a set of functional activities using limited IMU data from both children and adults.<\/jats:p>","DOI":"10.3390\/s26175357","type":"journal-article","created":{"date-parts":[[2026,8,25]],"date-time":"2026-08-25T08:00:48Z","timestamp":1787644848000},"page":"5357","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A Comparison of Machine Learning Approaches to Activity Classification Using IMU Data Collected in a Community-Based Setting"],"prefix":"10.3390","volume":"26","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7191-8906","authenticated-orcid":false,"given":"Hans E.","family":"Anderson","sequence":"first","affiliation":[{"name":"Department of Orthopaedics, Division of Physical Medicine and Rehabilitation, Stanford Medicine, Stanford, CA 94305, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2024-5051","authenticated-orcid":false,"given":"Robert A.","family":"Scheidt","sequence":"additional","affiliation":[{"name":"Joint Department of Biomedical Engineering, Marquette University and Medical College of Wisconsin, Milwaukee, WI 53233, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-2092-2646","authenticated-orcid":false,"given":"Kimberly D.","family":"Bassindale","sequence":"additional","affiliation":[{"name":"Department of Physical Therapy and Human Movement Sciences, Northwestern University, Chicago, IL 60611, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,8,25]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Wei, S., and Wu, Z. (2023). The Application of Wearable Sensors and Machine Learning Algorithms in Rehabilitation Training: A Systematic Review. Sensors, 23.","DOI":"10.3390\/s23187667"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"103197","DOI":"10.1016\/j.bspc.2021.103197","article-title":"Wearable sensors and machine learning in post-stroke rehabilitation assessment: A systematic review","volume":"71","author":"Boukhennoufa","year":"2022","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"148","DOI":"10.1186\/s12984-020-00779-y","article-title":"Systematic review on the application of wearable inertial sensors to quantify everyday life motor activity in people with mobility impairments","volume":"17","author":"Rast","year":"2020","journal-title":"J. Neuroeng. Rehabil."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"4653923","DOI":"10.1155\/2022\/4653923","article-title":"Machine Learning for Healthcare Wearable Devices: The Big Picture","volume":"2022","author":"Sabry","year":"2022","journal-title":"J. Healthc. Eng."},{"key":"ref_5","first-page":"100072","article-title":"Trends in human activity recognition with focus on machine learning and power requirements","volume":"5","author":"Nguyen","year":"2021","journal-title":"Mach. Learn. Appl."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Hou, C. (2020, January 15\u201318). A study on IMU-based human activity recognition using deep learning and traditional machine learning. Proceedings of the 2020 5th International Conference on Computer and Communication Systems, ICCCS 2020, Shanghai, China.","DOI":"10.1109\/ICCCS49078.2020.9118506"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Roggen, D., Calatroni, A., Rossi, M., Holleczek, T., Forster, K., Troster, G., Lukowicz, P., Bannach, D., Pirkl, G., and Ferscha, A. (2010, January 15\u201318). Collecting complex activity datasets in highly rich networked sensor environments. Proceedings of the INSS 2010\u20147th International Conference on Networked Sensing Systems, Kassel, Germany.","DOI":"10.1109\/INSS.2010.5573462"},{"key":"ref_8","unstructured":"Reiss, A. (2012). PAMAP2 Physical Activity Monitoring [Dataset], UCI Machine Learning Repository."},{"key":"ref_9","unstructured":"Weiss, G.M. (2019). WISDM Smartphone and Smartwatch Activity and Biometrics Dataset, UCI Machine Learning Repository. WISDM Smartphone and Smartwatch Activity and Biometrics Dataset Data Set."},{"key":"ref_10","unstructured":"Reyes-Ortiz, J., Anguita, D., Ghio, A., Oneto, L., and Parra, X. (2013). Human Activity Recognition Using Smartphones [Dataset], UCI Machine Learning Repository."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Stojchevska, M., De Brouwer, M., Courteaux, M., Ongenae, F., and Van Hoecke, S. (2023). From Lab to Real World: Assessing the Effectiveness of Human Activity Recognition and Optimization through Personalization. Sensors, 23.","DOI":"10.3390\/s23104606"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"105947","DOI":"10.1016\/j.clinbiomech.2023.105947","article-title":"Analysis of cerebral palsy gait based on movement primitives","volume":"104","author":"Tavasoli","year":"2023","journal-title":"Clin. Biomech."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"e70365","DOI":"10.1002\/brb3.70365","article-title":"Amplified Intraindividual Variability in Motor Performance in Stroke Survivors: Links to Cognitive and Clinical Outcomes","volume":"15","author":"Delmas","year":"2025","journal-title":"Brain Behav."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"639","DOI":"10.1177\/15459683251340916","article-title":"Trial-By-Trial Variation In Upper Extremity Movement Smoothness After Acute Stroke Relates To Clinical Assessments And Corticospinal Tract Injury","volume":"39","author":"Cavanagh","year":"2025","journal-title":"Neurorehabilit. Neural Repair"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"111949","DOI":"10.1016\/j.exger.2022.111949","article-title":"Mapping features and patterns of accelerometry data on human movement in different age groups and associated health problems: A cross-sectional study","volume":"168","author":"Chiudo","year":"2022","journal-title":"Exp. Gerontol."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Mikos, V., Yen, S.-C., Tay, A., Heng, C.-H., Chung, C.L.H., Liew, S.H.X., Tan, D.M.L., and Au, W.L. (2018). Regression analysis of gait parameters and mobility measures in a healthy cohort for subject-specific normative values. PLoS ONE, 13.","DOI":"10.1371\/journal.pone.0199215"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"100580","DOI":"10.1016\/j.jnha.2025.100580","article-title":"Gait parameters and daily physical activity for distinguishing pre-frail, frail, and non-frail older adults: A scoping review","volume":"29","author":"Zhang","year":"2025","journal-title":"J. Nutr. Health Aging"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"2595","DOI":"10.1249\/MSS.0000000000001717","article-title":"A dual-accelerometer system for classifying physical activity in children and adults","volume":"50","author":"Stewart","year":"2018","journal-title":"Med. Sci. Sports Exerc."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"634","DOI":"10.1249\/MSS.0000000000001460","article-title":"Sensor-enabled Activity Class Recognition in Preschoolers: Hip versus Wrist Data","volume":"50","author":"Trost","year":"2018","journal-title":"Med. Sci. Sports Exerc."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"2086","DOI":"10.1109\/JBHI.2021.3118717","article-title":"Transfer Learning Improves Accelerometer-Based Child Activity Recognition via Subject-Independent Adult-Domain Adaption","volume":"26","author":"Li","year":"2022","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"12780","DOI":"10.48084\/etasr.6586","article-title":"Human Activity Recognition through Smartphone Inertial Sensors with ML Approach","volume":"14","author":"Alanazi","year":"2024","journal-title":"Eng. Technol. Appl. Sci. Res."},{"key":"ref_22","first-page":"55","article-title":"Optimization of Sensor Placement Combinations and Classification Thresholds for the Accelerometer-Based Activity Recognition","volume":"8","author":"Kwon","year":"2018","journal-title":"J. Med. Imaging Health Inform."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Chen, J., Sun, Y., and Sun, S. (2021). Improving human activity recognition performance by data fusion and feature engineering. Sensors, 21.","DOI":"10.3390\/s21030692"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Gebreyesus, Y., Dalton, D., Nixon, S., De Chiara, D., and Chinnici, M. (2023). Machine Learning for Data Center Optimizations: Feature Selection Using Shapley Additive exPlanation (SHAP). Future Internet, 15.","DOI":"10.3390\/fi15030088"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"779","DOI":"10.1016\/j.medengphy.2014.02.012","article-title":"Evaluation of accelerometer based multi-sensor versus single-sensor activity recognition systems","volume":"36","author":"Gao","year":"2014","journal-title":"Med. Eng. Phys."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Shoaib, M., Bosch, S., Incel, O.D., Scholten, H., and Havinga, P.J.M. (2016). Complex human activity recognition using smartphone and wrist-worn motion sensors. Sensors, 16.","DOI":"10.3390\/s16040426"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Bailey, R.R., Klaesner, J.W., and Lang, C.E. (2014). An accelerometry-based methodology for assessment of real-world bilateral upper extremity activity. PLoS ONE, 9.","DOI":"10.1371\/journal.pone.0103135"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"711","DOI":"10.1109\/TBME.2003.812189","article-title":"Ambulatory system for human motion analysis using a kinematic sensor: Monitoring of daily physical activity in the elderly","volume":"50","author":"Najafi","year":"2003","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Bai, L. (2021, January 10\u201311). Time-Frequency Analysis of Upper Limb Motion Based on Inertial Sensors. Proceedings of the 2021 32nd Irish Signals and Systems Conference, ISSC 2021, Athlone, Ireland.","DOI":"10.1109\/ISSC52156.2021.9467873"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"13830","DOI":"10.1038\/s41598-025-98571-2","article-title":"Efficient human activity recognition on edge devices using DeepConv LSTM architectures","volume":"15","author":"Zhou","year":"2025","journal-title":"Sci. Rep."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Liao, T., Zhao, J., Liu, Y., Ivanov, K., Xiong, J., and Yan, Y. (2022, January 6\u20138). Deep Transfer Learning with Graph Neural Network for Sensor-Based Human Activity Recognition. Proceedings of the 2022 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2022, Las Vegas, NV, USA.","DOI":"10.1109\/BIBM55620.2022.9995660"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"142","DOI":"10.1007\/s00221-002-1156-z","article-title":"The development of coordination for reach-to-grasp movements in children","volume":"146","author":"Schneiberg","year":"2002","journal-title":"Exp. Brain Res."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"256","DOI":"10.1111\/j.1469-8749.2009.03391.x","article-title":"Development of motor speed and associated movements from 5 to 18 years","volume":"52","author":"Gasser","year":"2010","journal-title":"Dev. Med. Child Neurol."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"424","DOI":"10.1007\/s002210050530","article-title":"Development of prehension movements in children: A kinematic study","volume":"122","author":"Stolze","year":"1998","journal-title":"Exp. Brain Res."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"25311","DOI":"10.1109\/ACCESS.2026.3651446","article-title":"A Comparative Study of Classical Machine Learning and Deep Learning Approaches for Human Behavior Detection Using Multisensor Data","volume":"14","author":"Devi","year":"2026","journal-title":"IEEE Access"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Rahman, S., Irfan, M., Raza, M., Ghori, K.M., Yaqoob, S., and Awais, M. (2020). Performance analysis of boosting classifiers in recognizing activities of daily living. Int. J. Environ. Res. Public Health, 17.","DOI":"10.3390\/ijerph17031082"},{"key":"ref_37","unstructured":"Anguita, D., Ghio, A., Oneto, L., Parra, X., and Reyes-Ortiz, J.L. (2013, January 24\u201326). A public domain dataset for human activity recognition using smartphones. Proceedings of the ESANN 2013 Proceedings, 21st European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, Bruges, Belgium."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Ord\u00f3\u00f1ez, F.J., and Roggen, D. (2016). Deep convolutional and LSTM recurrent neural networks for multimodal wearable activity recognition. Sensors, 16.","DOI":"10.3390\/s16010115"},{"key":"ref_39","unstructured":"Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A.V., and Gulin, A. (2018). Catboost: Unbiased boosting with categorical features. Advances in Neural Information Processing Systems, Proceedings of the 32nd International Conference on Neural Information Processing Systems, Montreal, Canada, 2018, Curran Associates Inc."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"1834","DOI":"10.1249\/MSS.0000000000002306","article-title":"Posture and Physical Activity Detection: Impact of Number of Sensors and Feature Type","volume":"52","author":"Tang","year":"2020","journal-title":"Med. Sci. Sports Exerc."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"R1","DOI":"10.1088\/0967-3334\/30\/4\/R01","article-title":"Activity identification using body-mounted sensors\u2014A review of classification techniques","volume":"30","author":"Preece","year":"2009","journal-title":"Physiol. Meas."},{"key":"ref_42","first-page":"1","article-title":"Combining Clustering with Classification: A Technique to Improve Classification Accuracy","volume":"5","author":"Alapati","year":"2016","journal-title":"Int. J. Comput. Sci. Eng."},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"1341","DOI":"10.1162\/neco.1996.8.7.1341","article-title":"The Lack of a Priori Distinctions between Learning Algorithms","volume":"8","author":"Wolpert","year":"1996","journal-title":"Neural Comput."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/17\/5357\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,27]],"date-time":"2026-08-27T04:14:12Z","timestamp":1787804052000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/17\/5357"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,25]]},"references-count":43,"journal-issue":{"issue":"17","published-online":{"date-parts":[[2026,9]]}},"alternative-id":["s26175357"],"URL":"https:\/\/doi.org\/10.3390\/s26175357","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,25]]}}}