Predicting postoperative pulmonary infection in elderly patients undergoing major surgery: a study based on logistic regression and machine learning models

被引:0
作者
Jie Liu [1 ]
Xia Li [2 ]
Yanting Wang [1 ]
Zhenzhen Xu [1 ]
Yong Lv [1 ]
Yuyao He [1 ]
Lu Chen [1 ]
Yiqi Feng [1 ]
Guoyang Liu [1 ]
Yunxiao Bai [1 ]
Wanli Xie [1 ]
Qingping Wu [1 ]
机构
[1] Department of Anesthesiology, Union Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan
[2] Department of Anesthesiology, The Second Affiliated Hospital of Chongqing Medical University, Chongqing
基金
中国国家自然科学基金;
关键词
Elderly; Logistic regression; Machine learning; Postoperative pulmonary infection; Prediction model;
D O I
10.1186/s12890-025-03582-4
中图分类号
学科分类号
摘要
Background: Postoperative pulmonary infection (POI) is strongly associated with a poor prognosis and has a high incidence in elderly patients undergoing major surgery. Machine learning (ML) algorithms are increasingly being used in medicine, but the predictive role of logistic regression (LR) and ML algorithms for POI in high-risk populations remains unclear. Methods: We conducted a retrospective cohort study of older adults undergoing major surgery over a period of six years. The included patients were randomly divided into training and validation sets at a ratio of 7:3. The features selected by the least absolute shrinkage and selection operator regression algorithm were used as the input variables of the ML and LR models. The random forest of multiple interpretable methods was used to interpret the ML models. Results: Of the 9481 older adults in our study, 951 developed POI. Among the different algorithms, LR performed the best with an AUC of 0.80, whereas the decision tree performed the worst with an AUC of 0.75. Furthermore, the LR model outperformed the other ML models in terms of accuracy (88.22%), specificity (90.29%), precision (44.42%), and F1 score (54.25%). Despite employing four interpretable methods for RF analysis, there existed a certain degree of inconsistency in the results. Finally, to facilitate clinical application, we established a web-friendly version of the nomogram based on the LR algorithm; In addition, patients were divided into three significantly distinct risk intervals in predicting POI. Conclusions: Compared with popular ML algorithms, LR was more effective at predicting POI in older patients undergoing major surgery. The constructed nomogram could identify high-risk elderly patients and facilitate perioperative management planning. Trial registration: The study was retrospectively registered (NCT06491459). © The Author(s) 2025.
引用
收藏
相关论文
共 50 条
  • [1] Comparison of machine learning and logistic regression models for predicting emergence delirium in elderly patients: A prospective study
    Lu, Yufan
    Li, Ying
    Chi, Shengqiang
    Feng, Yan
    Li, Gaowei
    Lin, Xuezheng
    Jin, Jie
    Wang, Ying
    INTERNATIONAL JOURNAL OF MEDICAL INFORMATICS, 2025, 199
  • [2] Comparison of logistic regression and machine learning methods for predicting postoperative delirium in elderly patients: A retrospective study
    Song, Yu-Xiang
    Yang, Xiao-Dong
    Luo, Yun-Gen
    Ouyang, Chun-Lei
    Yu, Yao
    Ma, Yu-Long
    Li, Hao
    Lou, Jing-Sheng
    Liu, Yan-Hong
    Chen, Yi-Qiang
    Cao, Jiang-Bei
    Mi, Wei-Dong
    CNS NEUROSCIENCE & THERAPEUTICS, 2023, 29 (01) : 158 - 167
  • [3] Logistic regression was as good as machine learning for predicting major chronic diseases
    Nusinovici, Simon
    Tham, Yih Chung
    Yan, Marco Yu Chak
    Ting, Daniel Shu Wei
    Li, Jialiang
    Sabanayagam, Charumathi
    Wong, Tien Yin
    Cheng, Ching-Yu
    JOURNAL OF CLINICAL EPIDEMIOLOGY, 2020, 122 : 56 - 69
  • [4] Predicting postoperative pulmonary infection risk in patients with diabetes using machine learning
    Zhao, Chunxiu
    Xiang, Bingbing
    Zhang, Jie
    Yang, Pingliang
    Liu, Qiaoli
    Wang, Shun
    FRONTIERS IN PHYSIOLOGY, 2024, 15
  • [5] Development and Validation of a Nomogram for Predicting Postoperative Pulmonary Infection in Patients Undergoing Lung Surgery
    Wang, Jing-Yun
    Pang, Qian-Yun
    Yang, Ya-Jun
    Feng, Yu-Mei
    Xiang, Ying-Ying
    An, Ran
    Liu, Hong-Liang
    JOURNAL OF CARDIOTHORACIC AND VASCULAR ANESTHESIA, 2022, 36 (12) : 4393 - 4402
  • [6] An In-Hospital Mortality Risk Model for Elderly Patients Undergoing Cardiac Valvular Surgery Based on LASSO-Logistic Regression and Machine Learning
    Zhu, Kun
    Lin, Hongyuan
    Yang, Xichun
    Gong, Jiamiao
    An, Kang
    Zheng, Zhe
    Hou, Jianfeng
    JOURNAL OF CARDIOVASCULAR DEVELOPMENT AND DISEASE, 2023, 10 (02)
  • [7] Comparison of Logistic Regression and Machine Learning Approaches in Predicting Depressive Symptoms: A National-Based Study
    Dong, Xing-Xuan
    Liu, Jian-Hua
    Zhang, Tian-Yang
    Pan, Chen-Wei
    Zhao, Chun-Hua
    Wu, Yi-Bo
    Chen, Dan-Dan
    PSYCHIATRY INVESTIGATION, 2025, 22 (03) : 267 - 278
  • [8] Development and validation of machine learning models for predicting extubation failure in patients undergoing cardiac surgery: a retrospective study
    Jiang, Xiaofeng
    Peng, Wenyong
    Xu, Jianbo
    Zhu, Yanhong
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [9] Study on the applicability of regression models and machine learning models for predicting concrete compressive strength
    Kim, Sangwoo
    Kim, Jinsup
    Shin, Jaeho
    Kim, Youngsoon
    STRUCTURAL ENGINEERING AND MECHANICS, 2024, 91 (06) : 583 - 589
  • [10] Comparison between traditional logistic regression and machine learning for predicting mortality in adult sepsis patients
    Wu, Hongsheng
    Liao, Biling
    Ji, Tengfei
    Ma, Keqiang
    Luo, Yumei
    Zhang, Shengmin
    FRONTIERS IN MEDICINE, 2025, 11