Web-Based Machine Learning Prediction of Stroke Rehabilitation Exercise Categories

Authors

  • Elly Johana Johan Department of Computer and Mathematical Sciences Universiti Teknologi MARA Cawangan Pulau Pinang
  • Norizan Mat Diah Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia
  • Zainura Idrus Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia
  • Nurul Izah Md Salleh Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia

DOI:

https://doi.org/10.24191/1d6mt860

Keywords:

Machine Learning, Rehabilitation Exercise Prediction, Stroke Recovery, Web Application, Clinical Decision Support

Abstract

Stroke rehabilitation requires timely and targeted exercise interventions to restore mobility, strength, and independence. This study develops a machine learning-based system to predict appropriate rehabilitation exercise categories (strength, balance, and mobility) tailored to patient severity levels. Using an open-source dataset of 5,110 stroke patient records, including age, BMI, glucose level, smoking status, paralysis type, and speech ability, three supervised algorithms were evaluated: Random Forest (RF), Logistic Regression (LR), and Multilayer Perceptron (MLP). Accuracy values were reported with 95% Confidence Intervals (CI): RF (94.12%, 95% CI: 93.6–94.6), LR (94.12%, 95% CI: 93.5–94.7), and MLP (94.32%, 95% CI: 93.8–94.9). Despite MLP’s marginally higher accuracy, RF was selected for deployment due to its stability, interpretability, and alignment with expert recommendations. Validation against rehabilitation specialists yielded strong agreement (Cohen’s κ = 0.82), confirming clinical reliability. The RF model was integrated into a web-based application hosted on Heroku. This platform enables patients, particularly those in rural areas with limited access to physiotherapists, to receive personalised exercise guidance. Future work will expand dataset diversity, incorporate hyperparameter optimisation, and evaluate additional metrics such as precision, recall, F1-score, and ROC-AUC to enhance clinical robustness. This system demonstrates the potential of machine learning to support accessible, personalised rehabilitation in resource-constrained settings.

References

Anderson, E., & Durstine, J. L. (2019). Physical activity, exercise, and chronic diseases: A brief review. Sports Medicine and Health Science, 1(1), 3–10.

Bushman, B. A. (2020). Exercise for prevention of chronic diseases. ACSM’s Health & Fitness Journal, 24(1), 5–10.

Campagnini, S., Arienti, C., Patrini, M., Liuzzi, P., Mannini, A., & Carrozza, M. C. (2022). Machine learning methods for functional recovery prediction and prognosis in post-stroke rehabilitation: a systematic review. Journal of NeuroEngineering and Rehabilitation, 19(1), 54.

Elizabeth, R., et al. (2019). Cardiac rehabilitation and exercise safety. Journal of Cardiovascular Nursing, 34(3), 210–218.

Greer, M. L., Zayas, C., & Bhattacharyya, S. (2022). Repeatable enhancement of healthcare data with social determinants of health. Frontiers in Big Data, 5, 894598.

Haq, A. U., Li, J. P., Memon, M. H., Nazir, S., & Sun, R. (2020). A hybrid intelligent system framework for the prediction of heart disease using machine learning algorithms. Mobile Information Systems, 1–21.

Igamberdievna, Y. Z., & Igamberdievna, R. M. (2023). The importance of physical exercises in maintaining and promoting health. Web of Medicine: Journal of Medicine, Practice and Nursing, 1(8), 25–37.

Kelleher, J. D., Mac Namee, B., & D’Arcy, A. (2020). Fundamentals of machine learning for predictive data analytics: Algorithms, worked examples, and case studies. MIT Press.

Kinoshita, T., Nishimura, Y., Umemoto, Y., Kawasaki, S., Hori, S., Yasuoka, Y., Banno, M., & Tajima, F. (2022). Investigation of adverse events occurring during rehabilitation in an acute-care hospital. Journal of Clinical Medicine, 11(16), 4706.

Kumar, P., et al. (2011). Health prediction using machine learning. International Journal of Computer Applications, 33(4), 1–5.

Lee, I. M., Shiroma, E. J., Lobelo, F., Puska, P., Blair, S. N., & Katzmarzyk, P. T. (2020). Effect of physical inactivity on major non-communicable diseases worldwide: An analysis of burden and prevention. The Lancet, 380(9838), 219–229.

Mohammed, S. (2016). Role of exercise in chronic disease prevention. Journal of Health Science, 6(2), 45–52.

Penka, S. (2016). Error evaluation in predictive modelling. Journal of Computer Science, 12(5), 100–108.

Pressman, R. S., & Maxim, B. R. (2020). Software engineering: A practitioner’s approach (9th ed.). McGraw-Hill Education.

Rajkomar, A., Dean, J., & Kohane, I. (2019). Machine learning in medicine. New England Journal of Medicine, 380, 1347–1358.

Rossi, P. H., Lipsey, M. W., & Henry, G. T. (2019). Evaluation: A systematic approach (8th ed.). SAGE Publications.

Downloads

Published

10-04-2026

Issue

Section

Articles

How to Cite

Johan, E. J., Mat Diah, N., Idrus, Z. ., & Md Salleh, N. I. (2026). Web-Based Machine Learning Prediction of Stroke Rehabilitation Exercise Categories. Journal of Information and Knowledge Management, 16(1), 27-40. https://doi.org/10.24191/1d6mt860

Similar Articles

1-10 of 74

You may also start an advanced similarity search for this article.