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 条
  • [21] Development and validation of medical record-based logistic regression and machine learning models to diagnose diabetic retinopathy
    He-Yan Li
    Li Dong
    Wen-Da Zhou
    Hao-Tian Wu
    Rui-Heng Zhang
    Yi-Tong Li
    Chu-Yao Yu
    Wen-Bin Wei
    Graefe's Archive for Clinical and Experimental Ophthalmology, 2023, 261 : 681 - 689
  • [22] Nutritional risk factors for postoperative complications in Brazilian elderly patients undergoing major elective surgery
    Junqueira, JCD
    Soares, EC
    Corrêa, HR
    Hoehr, NF
    Magro, DO
    Ueno, M
    NUTRITION, 2003, 19 (04) : 321 - 326
  • [23] Comparison of machine learning and logistic regression as predictive models for adverse maternal and neonatal outcomes of preeclampsia: A retrospective study
    Zheng, Dongying
    Hao, Xinyu
    Khan, Muhanmmad
    Wang, Lixia
    Li, Fan
    Xiang, Ning
    Kang, Fuli
    Hamalainen, Timo
    Cong, Fengyu
    Song, Kedong
    Qiao, Chong
    FRONTIERS IN CARDIOVASCULAR MEDICINE, 2022, 9
  • [24] Predicting Overweight and Obesity Status Among Malaysian Working Adults With Machine Learning or Logistic Regression: Retrospective Comparison Study
    Wong, Jyh Eiin
    Yamaguchi, Miwa
    Nishi, Nobuo
    Araki, Michihiro
    Wee, Lei Hum
    JMIR FORMATIVE RESEARCH, 2022, 6 (12)
  • [25] Comparison of Multivariable Logistic Regression and Machine Learning Models for Predicting Bronchopulmonary Dysplasia or Death in Very Preterm Infants
    Khurshid, Faiza
    Coo, Helen
    Khalil, Amal
    Messiha, Jonathan
    Ting, Joseph Y.
    Wong, Jonathan
    Shah, Prakesh S.
    FRONTIERS IN PEDIATRICS, 2021, 9
  • [26] Development and validation of medical record-based logistic regression and machine learning models to diagnose diabetic retinopathy
    Li, He-Yan
    Dong, Li
    Zhou, Wen-Da
    Wu, Hao-Tian
    Zhang, Rui-Heng
    Li, Yi-Tong
    Yu, Chu-Yao
    Wei, Wen-Bin
    GRAEFES ARCHIVE FOR CLINICAL AND EXPERIMENTAL OPHTHALMOLOGY, 2023, 261 (03) : 681 - 689
  • [27] A comparative study of logistic regression based machine learning techniques for prediction of early virological suppression in antiretroviral initiating HIV patients
    Kuteesa R. Bisaso
    Susan A. Karungi
    Agnes Kiragga
    Jackson K. Mukonzo
    Barbara Castelnuovo
    BMC Medical Informatics and Decision Making, 18
  • [28] A comparative study of logistic regression based machine learning techniques for prediction of early virological suppression in antiretroviral initiating HIV patients
    Bisaso, Kuteesa R.
    Karungi, Susan A.
    Kiragga, Agnes
    Mukonzo, Jackson K.
    Castelnuovo, Barbara
    BMC MEDICAL INFORMATICS AND DECISION MAKING, 2018, 18
  • [29] Machine learning models in clinical practice for the prediction of postoperative complications after major abdominal surgery
    Stam, Wessel T.
    Ingwersen, Erik W.
    Ali, Mahsoem
    Spijkerman, Jorik T.
    Kazemier, Geert
    Bruns, Emma R. J.
    Daams, Freek
    SURGERY TODAY, 2023, 53 (10) : 1209 - 1215
  • [30] Machine learning models in clinical practice for the prediction of postoperative complications after major abdominal surgery
    Wessel T. Stam
    Erik W. Ingwersen
    Mahsoem Ali
    Jorik T. Spijkerman
    Geert Kazemier
    Emma R. J. Bruns
    Freek Daams
    Surgery Today, 2023, 53 : 1209 - 1215