Submitted:
15 October 2025
Posted:
21 October 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Methodology
2.1. Data Collection
| Exercise | Activated Muscles |
|---|---|
| Scaption | Medial Deltoid (S) Trapezius (S) Supraspinatus (D) Infraspinatus (D) Teres Minor (D) |
| External Rotation at the Side | Posterior Deltoid (S) Infraspinatus (D) Teres Minor (D) |
| Internal Rotation at the Side | Medial Deltoid (S) |
| External Rotation at 90° Abduction | Posterior Deltoid (S) Supraspinatus (D) Teres Minor (D) |
2.2. Sample Size Justification
2.3. Data Preprocessing and Feature Extraction
- represents each data point within the window,
- n is the number of samples.
2.4. Machine Learning Model Selection and Cross-Subject Validation
- l is a differentiable loss function (such as mean squared error for regression),
- is the prediction at iteration ,
- is the function (a decision tree) added at iteration t,
- is a regularization term to penalize model complexity, encouraging simpler trees.
- T is the number of leaves in the tree,
- is the weight of leaf j,
- and are regularization parameters.
- represents the true activation value,
- is the predicted value,
- n is the total number of samples.
2.5. Time Allocation Optimization
- n corresponds to the four rehabilitation exercises evaluated: scaption, internal rotation at the side, external rotation at the side, and external rotation at 90° abduction,
- represents the time allocated to exercise i,
- and represent the predicted superficial and deep muscle activations for each exercise i, calculated as the average predicted RMS values of the three superficial muscles (medial deltoid, posterior deltoid, trapezius) and the three deep muscles (supraspinatus, infraspinatus, teres minor), respectively,
- penalizes high variance in time distribution across exercises,
- and are weights to control the emphasis on superficial versus deep muscles depending on rehabilitation goals.
- Case 1: 70% superficial / 30% deep
- Case 2: 50% superficial / 50% deep
- Case 3: 30% superficial / 70% deep
3. Results
3.1. Model Comparison and Selection
| Model | Average MSE | Average () | Training Time (s) |
|---|---|---|---|
| () | |||
| SVR | 136.6163 | 0.7891 | 296 |
| KNN | 32.2439 | 0.7152 | 24 |
| AdaBoost | 6.6699 | 0.9234 | 185 |
| XGBoost | 15.0983 | 0.9875 | 23 |
3.1.1. Performance
3.1.2. Efficiency
3.2. XGBoost Evaluation Across All Muscles
3.3. Optimized Time Allocation
3.3.1. Case 1: 70% Superficial / 30% Deep
3.3.2. Case 2: 50% Superficial / 50% Deep
3.3.3. Case 3: 30% Superficial / 70% Deep
4. Discussion
5. Clinical Implications and Recommendations
6. Conclusions
Funding
Author Contributions: A. MajidiRad
Institutional Review Board Statement
Conflicts of Interest
References
- Jeanfavre, M.; Husted, S.; Leff, G. Exercise therapy in the non-operative treatment of full-thickness rotator cuff tears: a systematic review. Int. J. Sports Phys. Ther. 2018, 13, 335–344. [Google Scholar] [CrossRef]
- Edwards, P.; Ebert, J.; Joss, B.; Bhabra, G.; Ackland, T.; Wang, A. Exercise rehabilitation in the non-operative management of rotator cuff tears: a review of the literature. Int. J. Sports Phys. Ther. 2016, 11, 279–289. [Google Scholar]
- Weiss, L.J.; Wang, D.; Hendel, M.; Buzzerio, P.; Rodeo, S.A. Management of rotator cuff injuries in the elite athlete. Curr. Rev. Musculoskelet. Med. 2018, 11, 102–112. [Google Scholar] [CrossRef]
- Vakanski, A.; Ferguson, J.M.; Lee, S. Metrics for performance evaluation of patient exercises during physical therapy. Int. J. Phys. Med. Rehabil. 2017, 5, 403–409. [Google Scholar] [CrossRef] [PubMed]
- Burns, D.; Boyer, P.; Razmjou, H.; Richards, R.; Whyne, C. Adherence patterns and dose response of physiotherapy for rotator cuff pathology: Longitudinal cohort study. JMIR Rehabil. Assist. Technol. 2021, 8, e21374. [Google Scholar] [CrossRef]
- Cooke, E.V.; Mares, K.; Clark, A.; Tallis, R.C.; Pomeroy, V.M. The effects of increased dose of exercise-based therapies to enhance motor recovery after stroke: a systematic review and meta-analysis. BMC Medicine 2010, 8, 1–13. [Google Scholar] [CrossRef]
- Jiang, Y.; Chen, C.; Zhang, X.; Chen, C.; Zhou, Y.; Ni, G.; Lemos, S. Shoulder muscle activation pattern recognition based on sEMG and machine learning algorithms. Comput. Methods Programs Biomed. 2020, 197, 105721. [Google Scholar] [CrossRef]
- Sassi, M.; Carnevale, A.; Mancuso, M.; Schena, E.; Pecchia, L.; Longo, U.G. Classification of shoulder rehabilitation exercises by using wearable systems and machine learning algorithms. IEEE Sensors Journal 2024, 24, 1234–1245. [Google Scholar] [CrossRef]
- Sadikoglu, F.; Kavalcioglu, C.; Dagman, B. Electromyogram (EMG) signal detection, classification of EMG signals and diagnosis of neuropathy muscle disease. Procedia Computer Science 2017, 120, 422–429. [Google Scholar] [CrossRef]
- Belli, I.; Joshi, S.; Prendergast, J.M.; Beck, I.; Santina, C.D.; Peternel, L.; Seth, A. Does enforcing glenohumeral joint stability matter? A new rapid muscle redundancy solver highlights the importance of non-superficial shoulder muscles. PLOS ONE 2023, 18, e0295003. [Google Scholar] [CrossRef] [PubMed]
- Xu, K.; Feng, H.; He, G.; Li, M. Research on rehabilitation assessment methods for patients after rotator cuff surgery based on attitude sensors and XGBoost algorithm. In Proceedings of the 2024 3rd International Conference on Computing, Communication, Zhuhai, China, 2024, Perception and Quantum Technology (CCPQT); pp. 312–316.
- Smith TO, Chester R, C. A.D.S. A systematic review of electromyography studies in normal shoulders to inform postoperative rehabilitation following rotator cuff repair. Shoulder & Elbow 2012, 4, 127–135. [Google Scholar]
- Reinold, D.W.; Wilk, K.E.; Fleisig, M.R.; Cain, R.E.; Dugas, T.C.; Andrews, J.R. Electromyographic analysis of the rotator cuff and deltoid musculature during common shoulder external rotation exercises. Journal of Orthopaedic & Sports Physical Therapy 2004, 34, 385–394. [Google Scholar] [CrossRef]
- Ashraf, H.; Waris, A.; Gilani, S.O.; et al. . Optimizing the performance of convolutional neural networks for enhanced gesture recognition using sEMG. Scientific Reports 2024, 14. [Google Scholar] [CrossRef]
- Li C, Zhang X, Z. Z.C.W.W.Y. Machine learning model successfully identifies important clinical features for predicting outpatients with rotator cuff tears. Knee Surgery, Sports Traumatology, Arthroscopy 2023, 31, 2615–2623. [Google Scholar] [CrossRef]
- Kim J, Kim Y, C. J.e.a. Ruling out rotator cuff tear in shoulder radiograph series using deep learning: redefining the role of conventional radiograph. Korean Journal of Radiology 2021, 22, 2023–2032. [Google Scholar]
- Chang, H.H.; Huang, Y.F.; Yu, T.H.; Lee, Y.J.; Wang, C.J. Predictive modeling of blood pressure during hemodialysis: A comparison of linear model, random forest, support vector regression, XGBoost, LASSO regression and ensemble method. PLoS ONE 2021, 16, e0261160. [Google Scholar]
- Wang, R.; Wang, L.; Zhang, J.; He, M.; Xu, J. XGBoost machine learning algorithm performed better than regression models in predicting mortality of moderate-to-severe traumatic brain injury. World Neurosurg. 2022, 163, e617–e622. [Google Scholar] [CrossRef] [PubMed]
- Inoue, T.; Ichikawa, D.; Ueno, T.; Cheong, M.; Inoue, T.; Whetstone, W.D.; Tominaga, T. XGBoost, a machine learning method, predicts neurological recovery in patients with cervical spinal cord injury. Neurotrauma Rep. 2020, 1, 8–16. [Google Scholar] [CrossRef] [PubMed]
- Lim, Y.; Kim, H.; Park, J. Factors associated with predicting knee pain using knee X-ray and personal factors: A multivariate logistic regression and XGBoost model analysis from the nationwide Korean database (KNHANES). Int. J. Environ. Res. Public Health 2021, 18, 2564. [Google Scholar]
- Zhang, X.; Zhu, H.; Zhang, Y.; Chen, L. Prediction of outpatient rehabilitation patient preferences and optimization of graded diagnosis and treatment based on XGBoost machine learning algorithm. J. Healthc. Eng. 2022, 2022, 1–11. [Google Scholar]
- Yang, Z. Application of a data-driven XGBoost model for the prediction of COVID-19 in the USA: A time-series study. IEEE Access 2020, 8, 115512–115520. [Google Scholar]
- Lu, Z.; Chen, S.; Yang, J.; Liu, C.; Zhao, H. Prediction of lower limb joint angles from surface electromyography using XGBoost. Expert Systems with Applications 2025, 264, 125930. [Google Scholar] [CrossRef]
- Wang, B.; Liu, Y.; Lin, Y.; Zhang, H. Estimating gait parameters from sEMG signals using machine learning techniques under different power capacity of muscle. Front. Neurorobot. 2021, 15, 1–10. [Google Scholar]
- Garcia, M.C.; Vieira, T.M.M. Surface electromyography: Why, when and how to use it. Rev. Andal. Med. Deporte 2011, 4, 17–28. [Google Scholar]
- Chen, Y.; Qiu, L.; Sun, B. Development of machine learning models to determine hand gestures using EMG signals. IEEE Trans. Instrum. Meas. 2020, 69, 5761–5770. [Google Scholar]
- Ahmed, I.; Saeed, F.; Wang, H. Surface electromyography and artificial intelligence for human activity recognition—A systematic review on methods, emerging trends, applications, challenges, and future implementation. IEEE Rev. Biomed. Eng. 2022, 15, 211–230. [Google Scholar]
- Wang, L.; Wu, T.; Li, X.; Zhang, M. Surface electromyography and artificial intelligence in rehabilitation: Current state and future directions. IEEE Trans. Neural Syst. Rehabil. Eng. 2021, 29, 2385–2396. [Google Scholar]
- Liu, Z.; Song, M.; Zhang, S.; Xu, J.; Wu, Y. Enhancing trauma care: A machine learning approach with XGBoost for predicting urgent hemorrhage interventions using NTDB data. J. Trauma Acute Care Surg. 2021, 90, 590–597. [Google Scholar]
- Sun, T.; Zhang, Y.; Liu, J. Survival regression with accelerated failure time model in XGBoost. IEEE Access 2021, 9, 10317–10325. [Google Scholar]
- Kim, K.; Lee, J.; Choi, M. Relation of superficial and deep layers of delaminated rotator cuff tear to supraspinatus and infraspinatus insertions. J. Shoulder Elbow Surg. 2019, 28, 1938–1946. [Google Scholar]
- Alaiti, R.K.; et al. Using machine learning to predict nonachievement of clinically significant outcomes after rotator cuff repair. Orthop. J. Sports Med. 2023, 11, 23259671231206180. [Google Scholar] [CrossRef]
- Natras, R.; Soja, B.; Schmidt, M. Ensemble machine learning of random forest, AdaBoost and XGBoost for vertical total electron content forecasting. Remote Sens. 2022, 14, 3547. [Google Scholar] [CrossRef]
- Bentéjac, C.; Csörgo, A.; Martínez-Muñoz, G. A comparative analysis of XGBoost. arXiv 2019, arXiv:1911.01914. [Google Scholar] [CrossRef]
- Rahman, H.A.A.; et al. Comparisons of AdaBoost, KNN, SVM and logistic regression in classification of imbalanced dataset. In Proceedings of the Proc. 1st Int. Conf. Soft Comput. Data Sci. (SCDS 2015), Putrajaya, Malaysia 2015. [Google Scholar]
- Deshmukh, J.; Bhosle, U. A study of mammogram classification using AdaBoost with decision tree, KNN, SVM and hybrid SVM-KNN as component classifiers. Int. Res. J. Eng. Technol. (IRJET) 2018, 9, 548–557. [Google Scholar]
- Azmi, S.S.; Baliga, S. An overview of boosting decision tree algorithms utilizing AdaBoost and XGBoost boosting strategies. Int. Res. J. Eng. Technol. (IRJET) 2020, 7, 6867–6870. [Google Scholar]
- Thakkar, H.K.; Liao, W.; Wu, C.Y.; et al. . Predicting clinically significant motor function improvement after contemporary task-oriented interventions using machine learning approaches. J. NeuroEngineering Rehabil. 2020, 17, 131. [Google Scholar] [CrossRef] [PubMed]
- Bai, A.; Song, H.; Wu, Y.; Dong, S.; Feng, G.; Jin, H. Sliding-window CNN + channel-time attention transformer network trained with inertial measurement units and surface electromyography data for the prediction of muscle activation and motion dynamics leveraging IMU-only wearables for home-based shoulder rehabilitation. Sensors 2025, 25, 1275. [Google Scholar] [PubMed]
- Mitchell, A.; MajidiRad, A.; Pujalte, G. A CASE STUDY ON ACTIVATION LEVEL OF ROTATOR CUFF MUSCLES USING ELECTROMYOGRAPHY AND ASSOCIATED MUSCLE FORCES. Frontiers in Biomedical Devices 2023, 86731. [Google Scholar]
- Wells, S.N.; et al. . A literature review of studies evaluating rotator cuff activation during early rehabilitation exercises for post-op rotator cuff repair. Journal of Exercise Physiology Online 2016, 19. [Google Scholar]
- Mabrouk, O.M.; Hady, D.A.A.; El-Hafeez, T.A. Machine learning insights into scapular stabilization for alleviating shoulder pain in college students. Scientific Reports 2024, 14, 28430. [Google Scholar] [CrossRef] [PubMed]
- Yousif, H.A.; Zakaria, A.; Rahim, N.A.; Salleh, A.F.B.; Mahmood, M.; Alfarhan, K.A.; Hussain, M.K. Assessment of muscles fatigue based on surface EMG signals using machine learning and statistical approaches: A review. IOP Conf. Ser. Mater. Sci. Eng. 2019, 705, 012010. [Google Scholar] [CrossRef]
- Hajian, G. Generalized Force Estimation using Machine Learning and Deep Learning with EMG and Motion Data. PhD thesis, Queen’s Univ., Ontario, Canada, 2020. Order No. 28387874.
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research 2011, 12, 2825–2830. [Google Scholar]
- Chicco, D.; Jurman, G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics 2020, 21, 1–13. [Google Scholar] [CrossRef] [PubMed]



Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).