Research Article

Comparison of Six Machine Learning Algorithms for Stroke Risk Estimation

Yichen Li1, Zirui Wang2,*, Tongyu Wu3, Tianrui Zhou4
1. Capital University of Economics and Business
2. Tianjin University of Science and Technology
3. University College London
4. Zhejiang University of Technology

* Corresponding author: [email protected]

Abstract

Every year there are millions of people suffer from stroke around the world. In order to timely prevent stroke and effectively reduce the damage caused by stroke, this paper uses a variety of machine learning algorithms to predict stroke. The dataset used in this work contains 12 variables that provide some demographic, health and lifestyle information such as age, gender, hypertension, heart disease, marital status. First of all, this work analyzes dataset of 5110 patients by visualizing the distributions of numerical features and investigating the correlation between these different features. Six different algorithms, including decision tree, KNN, logistic regression, SVM, Native Bayes and random forest) are used to build models. Finally, use accuracy and classification report to evaluate these model’s performance. Among these models, the SVM classifier had the highest accuracy at 99.97%. Therefore, the SVM classifier model could be chosen to predict whether a person have a stroke and quickly screen out possible patients from the population.

Keywords: machine learning; stroke prediction; support vector machine
Published: August 1, 2023
DOI: 10.54254/2755-2721/8/20230274
Volume: ACE Vol.8
pp. 556-561
Download PDF

References

  1. Belagaje, S. R. (2017). Stroke rehabilitation. Continuum: Lifelong Learning in Neurology, 23(1), 238-253.
  2. Lo, E. H., Dalkara, T., & Moskowitz, M. A. (2003). Mechanisms, challenges and opportunities in stroke. Nature reviews neuroscience, 4(5), 399-414.
  3. Kim, J., Thayabaranathan, T., Donnan, G. A., Howard, G., Howard, V. J., et al. (2020). Global stroke statistics 2019. International Journal of Stroke, 15(8), 819-838.
  4. Virani, S. S., Alonso, A., Aparicio, H. J., Benjamin, E. J., Bittencourt, M. S., et al. (2021). Heart disease and stroke statistics—2021 update: a report from the American Heart Association. Circulation, 143(8), e254-e743.
  5. Stinear, C. M., Smith, M. C., & Byblow, W. D. (2019). Prediction tools for stroke rehabilitation. Stroke, 50(11), 3314-3322.
  6. Singh, M. S., & Choudhary, P. (2017). Stroke prediction using artificial intelligence. In 2017 8th Annual Industrial Automation and Electromechanical Engineering Conference (IEMECON), 158-161.
  7. Emon, M. U., Keya, M. S., Meghla, T. I., Rahman, M. M., Al Mamun, M. S., & Kaiser, M. S. (2020). Performance analysis of machine learning approaches in stroke prediction. In 2020 4th International Conference on Electronics, Communication and Aerospace Technology (ICECA), 1464-1469.
  8. Jordan, M. I., & Mitchell, T. M. (2015). Machine learning: Trends, perspectives, and prospects. Science, 349(6245), 255-260.
  9. Bell, J. (2022). What is machine learning?. Machine Learning and the City: Applications in Architecture and Urban Design, 207-216.
  10. Fedesoriano. (2021) Stroke Prediction Dataset, URL: https://www.kaggle.com/datasets/fedesoriano/stroke-prediction-dataset