Machine learning prediction of postoperative pulmonary infection in patients who underwent thoracoscopic lung cancer resection: a retrospective case-control study.

IF 5.5 3区 医学 Q2 MEDICAL INFORMATICS
Jiajia Ma, Zhengmin Zhang, Bei Xue, Jing Feng, Liping Yao, Hui Chen, Xiaoxin Liu
{"title":"Machine learning prediction of postoperative pulmonary infection in patients who underwent thoracoscopic lung cancer resection: a retrospective case-control study.","authors":"Jiajia Ma, Zhengmin Zhang, Bei Xue, Jing Feng, Liping Yao, Hui Chen, Xiaoxin Liu","doi":"10.1186/s12911-026-03698-5","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Accurate identification of patients at high risk of pulmonary infection after thoracoscopic lung cancer resection is important for timely and targeted preventive measures. Methods for determining the risk of pulmonary infection after thoracoscopic lung cancer resection have not been well studied.</p><p><strong>Methods: </strong>This study was a retrospective case-control research project. The information of 3219 hospitalised patients who underwent thoracoscopic lung cancer resection between January 2019 and December 2023 was obtained from the hospital electronic medical record system. 26 clinical characteristics were obtained from medical and nursing records. The variables were screened using the least absolute contraction and selection operator (LASSO) regression, and the risk prediction models for pulmonary infection after thoracoscopic lung cancer resection was constructed using the following 5 machine learning algorithms: logistic regression model (LR), artificial neural network (ANN), support vector machine (SVM), random forest (RF) and eXtreme gradient boosting (XGB). The model was evaluated using the following metrics: the area under the receiver operator characteristic curve (AUC), accuracy, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV) and F1 score (F1). Shapley additive explanation (SHAP) was used to interpret the machine learning models.</p><p><strong>Results: </strong>There were 3219 enrolled patients, 2203 (70%) of whom were assigned to the training cohort and 966 (30%) of whom were assigned to the validation cohort. The AUC range of the five models was 0.883-0.951. The XGB model outperformed the others, with an AUC of 0.951 (95% confidence interval: 0.943-0.964), accuracy of 0.902 (95% confidence interval: 0.886-0.913), sensitivity of 0.927, specificity of 0.864, positive predictive value of 0.898, negative predictive value of 0.824, precision of 0.908, recall of 0.872 and F1 score of 0.815 in the validation group. The model's prediction performance in the 45-65 age group was the best. The AUC of the logistic regression model was 0.948 (95% confidence interval: 0.931-0.957). We transformed the logistic regression model into a nomogram to help clinicians visualise the model and make them more likely to use it to identify the risk of pulmonary infection after thoracoscopic surgery in lung cancer patients.</p><p><strong>Conclusions: </strong>The establishment of a risk prediction model based on machine learning can help clinical nursing staff identify high-risk patients for pulmonary infection after thoracoscopic lung cancer resection.</p><p><strong>Clinical trial number: </strong>Not applicable.</p>","PeriodicalId":9340,"journal":{"name":"BMC Medical Informatics and Decision Making","volume":" ","pages":""},"PeriodicalIF":5.5000,"publicationDate":"2026-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13617690/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Informatics and Decision Making","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12911-026-03698-5","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Accurate identification of patients at high risk of pulmonary infection after thoracoscopic lung cancer resection is important for timely and targeted preventive measures. Methods for determining the risk of pulmonary infection after thoracoscopic lung cancer resection have not been well studied.

Methods: This study was a retrospective case-control research project. The information of 3219 hospitalised patients who underwent thoracoscopic lung cancer resection between January 2019 and December 2023 was obtained from the hospital electronic medical record system. 26 clinical characteristics were obtained from medical and nursing records. The variables were screened using the least absolute contraction and selection operator (LASSO) regression, and the risk prediction models for pulmonary infection after thoracoscopic lung cancer resection was constructed using the following 5 machine learning algorithms: logistic regression model (LR), artificial neural network (ANN), support vector machine (SVM), random forest (RF) and eXtreme gradient boosting (XGB). The model was evaluated using the following metrics: the area under the receiver operator characteristic curve (AUC), accuracy, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV) and F1 score (F1). Shapley additive explanation (SHAP) was used to interpret the machine learning models.

Results: There were 3219 enrolled patients, 2203 (70%) of whom were assigned to the training cohort and 966 (30%) of whom were assigned to the validation cohort. The AUC range of the five models was 0.883-0.951. The XGB model outperformed the others, with an AUC of 0.951 (95% confidence interval: 0.943-0.964), accuracy of 0.902 (95% confidence interval: 0.886-0.913), sensitivity of 0.927, specificity of 0.864, positive predictive value of 0.898, negative predictive value of 0.824, precision of 0.908, recall of 0.872 and F1 score of 0.815 in the validation group. The model's prediction performance in the 45-65 age group was the best. The AUC of the logistic regression model was 0.948 (95% confidence interval: 0.931-0.957). We transformed the logistic regression model into a nomogram to help clinicians visualise the model and make them more likely to use it to identify the risk of pulmonary infection after thoracoscopic surgery in lung cancer patients.

Conclusions: The establishment of a risk prediction model based on machine learning can help clinical nursing staff identify high-risk patients for pulmonary infection after thoracoscopic lung cancer resection.

Clinical trial number: Not applicable.

机器学习预测胸腔镜肺癌切除术患者术后肺部感染:一项回顾性病例对照研究
背景:准确识别胸腔镜肺癌切除术后肺部感染高危患者,对于及时、有针对性地采取预防措施具有重要意义。确定胸腔镜肺癌切除术后肺部感染风险的方法尚未得到很好的研究。方法:本研究为回顾性病例对照研究。从医院电子病历系统中获取2019年1月至2023年12月期间接受胸腔镜肺癌切除术的3219例住院患者的信息。从医疗和护理记录中获得26个临床特征。采用最小绝对收缩和选择算子(LASSO)回归筛选变量,采用logistic回归模型(LR)、人工神经网络(ANN)、支持向量机(SVM)、随机森林(RF)和极限梯度增强(XGB) 5种机器学习算法构建胸腔镜肺癌切除术后肺部感染风险预测模型。采用以下指标对模型进行评价:受试者操作者特征曲线下面积(AUC)、准确性、敏感性、特异性、阳性预测值(PPV)、阴性预测值(NPV)和F1评分(F1)。使用Shapley加性解释(SHAP)来解释机器学习模型。结果:共有3219例入组患者,其中2203例(70%)被分配到训练队列,966例(30%)被分配到验证队列。5个模型的AUC范围为0.883 ~ 0.951。验证组XGB模型的AUC为0.951(95%可信区间:0.943 ~ 0.964),准确率为0.902(95%可信区间:0.886 ~ 0.913),灵敏度为0.927,特异性为0.864,阳性预测值为0.898,阴性预测值为0.824,精密度为0.908,召回率为0.872,F1评分为0.815。该模型在45 ~ 65岁年龄组的预测效果最好。logistic回归模型的AUC为0.948(95%置信区间为0.931 ~ 0.957)。我们将逻辑回归模型转换为nomogram,以帮助临床医生可视化模型,并使他们更有可能使用该模型来识别肺癌患者胸腔镜手术后肺部感染的风险。结论:建立基于机器学习的风险预测模型可以帮助临床护理人员识别胸腔镜肺癌切除术后肺部感染的高危患者。临床试验号:不适用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书