Machine learning for stroke prediction using imbalanced data
Nataliia Melnykova, Yurii Patereha, Степан Скопівський et al. · Scientific Reports · 2025
The research focused on predicting strokes, a significant threat to health and well-being. The primary challenge addressed was the use of a highly imbalanced dataset. Various data preprocessing techniques were employed to tackle this, enabling the construction and comparison of machine-learning models for stroke prediction. Among the models assessed, the random forest model proved to be the most effective, achieving precision, recall, and F1-score levels of 90%, along with an accuracy of 90%. A random forest classifier was also trained using optimal hyperparameters obtained via grid search on balanced data to highlight the limitations of relying solely on accuracy in classification tasks. This approach demonstrated the model's high accuracy of 96%, underscoring the impracticality of using accuracy as the sole metric for performance evaluation in imbalanced datasets. In conclusion, the research underscores the critical role of advanced data processing and machine learning techniques in enhancing stroke prediction. The successful application of the random forest model and the recognition of accuracy's limitations provide a robust framework for future studies and practical implementations in healthcare settings. This work advances the predictive capabilities for stroke and paves the way for improved approaches to healthcare strategies, ultimately aiming to save lives and enhance the quality of life for individuals at risk.
Cited by 11 works. doi:10.1038/s41598-025-01855-w Open-access PDF
Authors
- Nataliia Melnykova
- Yurii Patereha
- Степан Скопівський
- Микола Фаріон
- Соломія Федушко
- Khrystyna Drohomyretska
References
- Heart Disease and Stroke Statistics—2023 Update: A Report From the American Heart Association
- Pragmatic solutions to reduce the global burden of stroke: a World Stroke Organization–Lancet Neurology Commission
- Analyzing the Performance of Stroke Prediction using ML Classification Algorithms
- Stroke Risk Prediction with Machine Learning Techniques
- The Role of Machine Learning Algorithms for Diagnosing Diseases
- Stroke Disease Detection and Prediction Using Robust Learning Approaches
- A comparative analysis of machine learning classifiers for stroke prediction: A predictive analytics approach
- Method of the Data Adequacy Determination of Personal Medical Profiles
- Integrated care for optimizing the management of stroke and associated heart disease: a position paper of the European Society of Cardiology Council on Stroke
- Stroke Rehabilitation in Low- and Middle-Income Countries