A Machine Learning Models for Early Stroke Prediction

Authors

  • Sahel Shiravand Department of Computer Engineering, Razi University, Kermanshah, Iran.
  • Abdolreza Fathi * Department of Computer Engineering, Razi University, Kermanshah, Iran.

https://doi.org/10.22105/ahse.v3i3.71

Abstract

Stroke is a leading cause of mortality and long‑term disability, and early prediction using machine learning models can support clinical decision‑making. In this study, a hybrid, stable, and interpretable feature selection framework is employed together with the LightGBM algorithm for stroke prediction. First, SHAP values derived from an XGBoost model are used to quantify the importance of each feature. Then, the absolute correlation of each feature with the target variable stroke and its stability across cross‑validation folds (i.e., the number of times it appears among the top 10 features) are considered as complementary criteria. These three measures are combined into a weighted composite score, and the top 10 features are selected for model training. The results show that, although some previous studies report higher overall accuracy, the proposed model achieves a Recall of 100% in identifying stroke patients, along with a Precision of 97.12% and an appropriate F1‑score, providing a favorable balance between reducing missed cases and limiting false alarms. 

Keywords:

Stroke prediction, Machine learning, Feature selection, LightGBM, SHAP

References

  1. [1] Feigin, V. L., Stark, B. A., Johnson, C. O., Roth, G. A., Bisignano, C., Abady, G. G., … ., & Murray, C. J. L. (2021). Global, regional, and national burden of stroke and its risk factors, 1990–2019: A systematic analysis for the Global Burden of Disease Study 2019. The Lancet Neurology, 20(10), 795–820. https://doi.org/10.1016/S1474-4422(21)00252-0

  2. [2] World Health Organization. (2026). Stroke. https://www.who.int/news-room/fact-sheets/detail/stroke

  3. [3] Topol, E. J. (2019). High-performance medicine: The convergence of human and artificial intelligence. Nature Medicine, 25(1), 44–56. https://doi.org/10.1038/s41591-018-0300-7

  4. [4] Alvin, R., Jeffrey, D., & Isaac, K. (2019). Machine learning in medicine. New England Journal of Medicine, 380(14), 1347–1358. https://doi.org/10.1056/NEJMra1814259

  5. [5] Chawla, N. V, Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https://doi.org/10.1613/jair.953

  6. [6] Zhang, Z., Wen, J., Sun, L., Deng, Q., Su, S., & Yao, P. (2017). Efficient incremental dynamic link prediction algorithms in social network. Knowledge-Based Systems, 132, 226–235. https://doi.org/10.1016/j.knosys.2017.06.035

  7. [7] Wang, X., Shangguan, H., Huang, F., Wu, S., & Jia, W. (2024). MEL: Efficient multi-task evolutionary learning for high-dimensional feature selection. IEEE Transactions on Knowledge and Data Engineering, 36(8), 4020–4033. https://doi.org/10.1109/TKDE.2024.3366333

  8. [8] Zhong, F., Chen, Z., & Min, G. (2018). Deep discrete cross-modal hashing for cross-media retrieval. Pattern Recognition, 83, 64–77. https://doi.org/10.1016/j.patcog.2018.05.018

  9. [9] Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems (Vol. 30). Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf

  10. [10] Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., … ., & Lee, S. I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 56–67. https://doi.org/10.1038/s42256-019-0138-9

  11. [11] Nalluri, M., Pentela, M., & Eluri, N. R. (2020). A scalable tree boosting system: XG boost. Int. j. res. stud. sci. eng. technol, 7(12), 36–51.

  12. [12] Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., … ., & Liu, T. Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems (pp. 3146–3154). Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2017/file/6449f44a102fde848669bdd9eb6b76fa-Paper.pdf

  13. [13] Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2018). CatBoost: Unbiased boosting with categorical features. Advances in Neural Information Processing Systems (pp. 6638–6648). Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2018/file/14491b756b3a51daac41c24863285549-Paper.pdf

  14. [14] Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297. https://doi.org/10.1007/BF00994018

  15. [15] Hosmer, D. W., Lemeshow, S., & Sturdivant, R. X. (2013). Applied logistic regression. Wiley. https://books.google.com/books?id=bRoxQBIZRd4C

  16. [16] Chowdhury, A. S., Bhandarkar, S. M., Robinson, R. W., & Yu, J. C. (2009). Virtual craniofacial reconstruction using computer vision, graph theory and geometric constraints. Pattern Recognition Letters, 30(10), 931–938. https://doi.org/10.1016/j.patrec.2009.03.010

  17. [17] Majnik, M., & Bosnić, Z. (2013). ROC analysis of classifiers in machine learning: A survey. Intelligent Data Analysis, 17(3), 531–558. https://doi.org/10.3233/IDA-130592

  18. [18] Peri, A. Ş., Katı, N., & Uçar, F. (2025). Machine learning approaches in medical data processing: A proposal for an intelligent stroke diagnosis system. Firat University Journal of Experimental and Computational Engineering, 4(2), 446–459. https://doi.org/10.62520/fujece.1694558

  19. [19] Tashkova, A., Eftimov, S., Ristov, B., & Kalajdziski, S. (2025). Comparative analysis of stroke prediction models using machine learning. https://doi.org/10.48550/arXiv.2505.09812

  20. [20] Beba, E., Mehanović, D., Vreto, S., & Dželihodžić, A. (2024). A comparative analysis of machine learning models for early stroke prediction. International Journal of Advances in Engineering and Management, 6(5), 972–980. https://doi.org/10.35629/5252-0605972980

  21. [21] Kitova, K., Ivanov, I., & Hooper, V. (2024). Stroke dataset modeling: Comparative study of machine learning classification methods. Algorithms, 17(12), 1–16. https://doi.org/10.3390/a17120571

  22. [22] Chakraborty, P., Bandyopadhyay, A., Sahu, P. P., Burman, A., Mallik, S., Alsubaie, N., … ., & Soufiene, B. O. (2024). Predicting stroke occurrences: A stacked machine learning approach with feature selection and data preprocessing. BMC Bioinformatics, 25(1), 329. https://doi.org/10.1186/s12859-024-05866-8

  23. [23] Saleem, M. A., Javeed, A., Akarathanawat, W., Chutinet, A., Suwanwela, N. C., Kaewplung, P., … ., & Benjapolakul, W. (2024). An intelligent learningsystem based on electronic health records for unbiased stroke prediction. Scientific Reports, 14(1), 23052. https://doi.org/10.1038/s41598-024-73570-x

  24. [24] Akiba, T., Sano, S., Yanase, T., Ohta, T., & Koyama, M. (2019). Optuna: A next-generation hyperparameter optimization framework. Proceedings of the 25th ACM Sigkdd International Conference on Knowledge Discovery & Data Mining (pp. 2623–2631). ACM Digital library. https://doi.org/10.1145/3292500.3330701

Published

2026-07-12

How to Cite

Shiravand, S., & Fathi, A. (2026). A Machine Learning Models for Early Stroke Prediction. Annals of Healthcare Systems Engineering, 3(3), 204-215. https://doi.org/10.22105/ahse.v3i3.71

Similar Articles

11-20 of 24

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