Interpretable prediction of heart disease based on random forest and SHAP

Lin Wu
{"title":"Interpretable prediction of heart disease based on random forest and SHAP","authors":"Lin Wu","doi":"10.1117/12.2682322","DOIUrl":null,"url":null,"abstract":"In order to improve the accuracy of heart disease prediction models and address the lack of interpretability in traditional machine learning models, this paper proposes a heart disease prediction method based on random forests and SHAP value. This method first preprocesses the dataset by encoding the data, filling in missing values, and removing outliers. It then uses recursive feature elimination and cross-validation to remove irrelevant features and select relevant features for further model training. The results, compared with other methods using accuracy, precision, recall, and F1 score, show that the proposed method outperforms other models. The interpretable model constructed based on SHAP value reflects the effect of feature values on prediction model results and provides a ranking of feature importance. The experimental results show that the method can effectively improve the accuracy of heart disease prediction, and provide a clear interpretation of the model prediction results. It can be an aid in the treatment and prevention of heart disease.","PeriodicalId":440430,"journal":{"name":"International Conference on Electronic Technology and Information Science","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Electronic Technology and Information Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2682322","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In order to improve the accuracy of heart disease prediction models and address the lack of interpretability in traditional machine learning models, this paper proposes a heart disease prediction method based on random forests and SHAP value. This method first preprocesses the dataset by encoding the data, filling in missing values, and removing outliers. It then uses recursive feature elimination and cross-validation to remove irrelevant features and select relevant features for further model training. The results, compared with other methods using accuracy, precision, recall, and F1 score, show that the proposed method outperforms other models. The interpretable model constructed based on SHAP value reflects the effect of feature values on prediction model results and provides a ranking of feature importance. The experimental results show that the method can effectively improve the accuracy of heart disease prediction, and provide a clear interpretation of the model prediction results. It can be an aid in the treatment and prevention of heart disease.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于随机森林和SHAP的心脏病可解释预测
为了提高心脏病预测模型的准确性,解决传统机器学习模型缺乏可解释性的问题,本文提出了一种基于随机森林和SHAP值的心脏病预测方法。该方法首先通过对数据进行编码、填充缺失值和去除异常值来预处理数据集。然后使用递归特征消除和交叉验证来去除不相关的特征,并选择相关的特征进行进一步的模型训练。结果表明,该方法在准确率、精密度、召回率和F1分数等方面均优于其他方法。基于SHAP值构建的可解释模型反映了特征值对预测模型结果的影响,并提供了特征重要性排序。实验结果表明,该方法可以有效地提高心脏病预测的准确性,并对模型预测结果提供清晰的解释。它可以帮助治疗和预防心脏病。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Network traffic classification based on multi-head attention and deep metric learning A study of regional precipitation data fusion model based on BP-LSTM in Qinghai province Design and application of an intelligent monitoring and early warning system for bioremediation of coking contaminated sites Research on improved adaptive spectrum access mechanism for millimetre wave Unloading optimization of networked vehicles based on improved genetic and particle swarm optimization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1