A Multi-Algorithmic Approach to Stroke Risk Prediction Using Machine Learning

2025

Full text Open access: Gold Metadata (CSL-JSON)
DOI 10.9734/jerr/2025/v27i71573
Data confidence 70 medium
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

Stroke remains a major public health concern and a leading cause of death and long-term disability worldwide. Early prediction of stroke risk can greatly improve preventive care and patient outcomes. This study employed a retrospective analysis using the Kaggle Stroke Prediction Dataset to develop effective machine learning models for stroke prediction. The dataset underwent thorough preprocessing, including data cleaning, transformation of categorical variables into numerical format, and exploratory data analysis. Feature selection was performed using the ANOVA F-test and Chi-squared test to identify the most significant predictors. To address the class imbalance problem, the Synthetic Minority Over-sampling Technique (SMOTE) was applied. Four classification algorithms, Logistic Regression, Decision Tree, Random Forest, and XGBoost were trained and evaluated using performance metrics such as accuracy, precision, recall, and F1-score. Hyperparameter tuning was conducted using Grid Search to optimize each model. Among the models, Random Forest and XGBoost achieved the highest accuracy of 91%, outperforming the others. The findings underscore the effectiveness of ensemble learning methods in predicting stroke risk and demonstrate the potential of integrating machine learning into healthcare systems for early detection and improved clinical decision-making.