Machine learning model development and validation using SHAP: predicting 28-day mortality risk in pulmonary fibrosis patients.

IF 3.8 3区 医学 Q2 MEDICAL INFORMATICS
Zijun Wu, Mingliang Li, Zhiliang Xu, Gang Liu
{"title":"Machine learning model development and validation using SHAP: predicting 28-day mortality risk in pulmonary fibrosis patients.","authors":"Zijun Wu, Mingliang Li, Zhiliang Xu, Gang Liu","doi":"10.1186/s12911-025-03172-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Early prediction of mortality risk within 28 days of admission is crucial for personalized treatment in patients with pulmonary fibrosis (PF). This study aims to develop a predictive model for 28-day mortality risk in PF patients using interpretable machine learning (ML) methods.</p><p><strong>Methods: </strong>Data from patients with pulmonary fibrosis were extracted from the Medical Information Mart for Intensive Care IV (MIMIC-IV) database. The study endpoint was mortality within 28 days of admission. Feature selection was performed using logistic regression and LASSO algorithms. Six machine learning algorithms-decision tree, k-nearest neighbors (KNN), LightGBM, single-hidden-layer neural network, support vector machine (SVM), and extreme gradient boosting (XGBoost)-were employed to construct risk prediction models. Additionally, SHapley Additive exPlanations (SHAP) were utilized to interpret the predictive models.</p><p><strong>Results: </strong>Among the six evaluated machine learning models, the LightGBM model demonstrated robust predictive performance, with an area under the receiver operating characteristic curve (AUC) of 0.819. SHAP analysis revealed that length of ICU stay, respiratory rate, and white blood cell count were the three most important features for predicting 28-day mortality risk in PF patients, with ICU stay duration having the most significant impact.</p><p><strong>Conclusion: </strong>This study indicates that machine learning methods hold potential for early prediction of mortality risk within 28 days of admission in patients with pulmonary fibrosis. Moreover, SHAP analysis enhanced the interpretability of the LightGBM model, thereby guiding clinical decision-making.</p>","PeriodicalId":9340,"journal":{"name":"BMC Medical Informatics and Decision Making","volume":"25 1","pages":"382"},"PeriodicalIF":3.8000,"publicationDate":"2025-10-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Informatics and Decision Making","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12911-025-03172-8","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Early prediction of mortality risk within 28 days of admission is crucial for personalized treatment in patients with pulmonary fibrosis (PF). This study aims to develop a predictive model for 28-day mortality risk in PF patients using interpretable machine learning (ML) methods.

Methods: Data from patients with pulmonary fibrosis were extracted from the Medical Information Mart for Intensive Care IV (MIMIC-IV) database. The study endpoint was mortality within 28 days of admission. Feature selection was performed using logistic regression and LASSO algorithms. Six machine learning algorithms-decision tree, k-nearest neighbors (KNN), LightGBM, single-hidden-layer neural network, support vector machine (SVM), and extreme gradient boosting (XGBoost)-were employed to construct risk prediction models. Additionally, SHapley Additive exPlanations (SHAP) were utilized to interpret the predictive models.

Results: Among the six evaluated machine learning models, the LightGBM model demonstrated robust predictive performance, with an area under the receiver operating characteristic curve (AUC) of 0.819. SHAP analysis revealed that length of ICU stay, respiratory rate, and white blood cell count were the three most important features for predicting 28-day mortality risk in PF patients, with ICU stay duration having the most significant impact.

Conclusion: This study indicates that machine learning methods hold potential for early prediction of mortality risk within 28 days of admission in patients with pulmonary fibrosis. Moreover, SHAP analysis enhanced the interpretability of the LightGBM model, thereby guiding clinical decision-making.

使用SHAP的机器学习模型开发和验证:预测肺纤维化患者28天死亡风险。
背景:入院28天内早期预测死亡风险对于肺纤维化(PF)患者的个性化治疗至关重要。本研究旨在使用可解释的机器学习(ML)方法开发PF患者28天死亡风险的预测模型。方法:从重症监护医学信息市场IV (MIMIC-IV)数据库中提取肺纤维化患者的数据。研究终点是入院28天内的死亡率。使用逻辑回归和LASSO算法进行特征选择。采用决策树、k近邻(KNN)、LightGBM、单隐层神经网络、支持向量机(SVM)和极限梯度增强(XGBoost) 6种机器学习算法构建风险预测模型。此外,采用SHapley加性解释(SHAP)来解释预测模型。结果:在6个评估的机器学习模型中,LightGBM模型表现出稳健的预测性能,其接收者工作特征曲线下面积(AUC)为0.819。SHAP分析显示,ICU住院时间、呼吸频率和白细胞计数是预测PF患者28天死亡风险的三个最重要的特征,其中ICU住院时间的影响最为显著。结论:本研究表明,机器学习方法具有早期预测肺纤维化患者入院28天内死亡风险的潜力。此外,SHAP分析增强了LightGBM模型的可解释性,从而指导临床决策。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
7.20
自引率
5.70%
发文量
297
审稿时长
1 months
期刊介绍: BMC Medical Informatics and Decision Making is an open access journal publishing original peer-reviewed research articles in relation to the design, development, implementation, use, and evaluation of health information technologies and decision-making for human health.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信