Effective Stroke Prediction using Machine Learning Algorithms

{"title":"Effective Stroke Prediction using Machine Learning Algorithms","authors":"","doi":"10.34104/ajeit.024.026036","DOIUrl":null,"url":null,"abstract":"One of the main factors that lead to death globally is stroke. The main reason for death by stroke is not taking prevention measures early and not understanding stroke. As a result, death by stroke is thriving all over the world, especially in developing countries like Bangladesh. Steps must be taken to identify strokes as early as possible. In this case, machine learning can be a solution. This study aims to find the appropriate algorithms for machine learning to predict stroke early and accurately and identify the main risk factors for stroke. To perform this work, a real dataset was collected from the Kaggle website and split into two parts: train data and test data, and seven machine learning algorithms such as Random Forest, Decision Tree, K-Nearest Neighbor, Adapting Boosting, Gradient Boosting, Logistic Regression, and Support Vector Machine were applied to that train data. Performance evaluation was calculated based on six performance metrics accuracy, precision, recall, F1-score, ROC curve, and precision-recall curve. To figure out the appropriate algorithm for stroke prediction, the performance for each algorithm was compared, and Random Forest was discovered to be the most effective algorithm with 0.99 accuracy, precision, recall, F1-score, an AUC of 0.9925 for the ROC curve, and an AUC of 0.9874 for the precision-recall curve. Finally, feature importance scores for each algorithm were calculated and ranked in descending order to find out the top risk factors for stroke like ‘age’, ‘average glucose level’, ‘body mass index’, ‘hypertension', and ‘smoking status’. The developed model can be used in different health institutions for stroke prediction with high accuracy.","PeriodicalId":505651,"journal":{"name":"Australian Journal of Engineering and Innovative Technology","volume":"178 3","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Australian Journal of Engineering and Innovative Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.34104/ajeit.024.026036","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

One of the main factors that lead to death globally is stroke. The main reason for death by stroke is not taking prevention measures early and not understanding stroke. As a result, death by stroke is thriving all over the world, especially in developing countries like Bangladesh. Steps must be taken to identify strokes as early as possible. In this case, machine learning can be a solution. This study aims to find the appropriate algorithms for machine learning to predict stroke early and accurately and identify the main risk factors for stroke. To perform this work, a real dataset was collected from the Kaggle website and split into two parts: train data and test data, and seven machine learning algorithms such as Random Forest, Decision Tree, K-Nearest Neighbor, Adapting Boosting, Gradient Boosting, Logistic Regression, and Support Vector Machine were applied to that train data. Performance evaluation was calculated based on six performance metrics accuracy, precision, recall, F1-score, ROC curve, and precision-recall curve. To figure out the appropriate algorithm for stroke prediction, the performance for each algorithm was compared, and Random Forest was discovered to be the most effective algorithm with 0.99 accuracy, precision, recall, F1-score, an AUC of 0.9925 for the ROC curve, and an AUC of 0.9874 for the precision-recall curve. Finally, feature importance scores for each algorithm were calculated and ranked in descending order to find out the top risk factors for stroke like ‘age’, ‘average glucose level’, ‘body mass index’, ‘hypertension', and ‘smoking status’. The developed model can be used in different health institutions for stroke prediction with high accuracy.
利用机器学习算法进行有效的中风预测
在全球范围内,中风是导致死亡的主要因素之一。中风致死的主要原因是没有及早采取预防措施和不了解中风。因此,全世界因中风死亡的人数在不断增加,尤其是在孟加拉国这样的发展中国家。必须采取措施尽早识别中风。在这种情况下,机器学习不失为一种解决方案。本研究旨在为机器学习找到合适的算法,以尽早准确地预测中风,并识别中风的主要风险因素。为了完成这项工作,我们从 Kaggle 网站上收集了一个真实数据集,将其分为训练数据和测试数据两部分,并对训练数据应用了随机森林、决策树、K-近邻、适应性提升、梯度提升、逻辑回归和支持向量机等七种机器学习算法。性能评估根据准确率、精确率、召回率、F1-分数、ROC 曲线和精确率-召回率曲线六项性能指标进行计算。为了找出适合中风预测的算法,对每种算法的性能进行了比较,发现随机森林是最有效的算法,其准确率、精确率、召回率、F1-分数均为 0.99,ROC 曲线的 AUC 为 0.9925,精确率-召回率曲线的 AUC 为 0.9874。最后,计算了每种算法的特征重要性得分,并按降序排列,找出了 "年龄"、"平均血糖水平"、"体重指数"、"高血压 "和 "吸烟状况 "等脑卒中的首要风险因素。所开发的模型可用于不同的医疗机构,对中风进行高精度预测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信