Liu Jie, Li Xia, Wang Yanting, Xu Zhenzhen, Lv Yong, He Yuyao, Chen Lu, Feng Yiqi, Liu Guoyang, Bai Yunxiao, Xie Wanli, Wu Qingping
Department of Anesthesiology, Union Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan, People's Republic of China.
Department of Anesthesiology, The Second Affiliated Hospital of Chongqing Medical University, Chongqing, China.
BMC Pulm Med. 2025 Mar 19;25(1):128. doi: 10.1186/s12890-025-03582-4.
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.
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.
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.
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.
The study was retrospectively registered (NCT06491459).
术后肺部感染(POI)与预后不良密切相关,在接受大手术的老年患者中发病率很高。机器学习(ML)算法在医学中的应用越来越广泛,但逻辑回归(LR)和ML算法在高危人群中对POI的预测作用仍不清楚。
我们对6年内接受大手术的老年人进行了一项回顾性队列研究。纳入的患者以7:3的比例随机分为训练集和验证集。将通过最小绝对收缩和选择算子回归算法选择的特征用作ML和LR模型的输入变量。使用多种可解释方法的随机森林来解释ML模型。
在我们研究的9481名老年人中,951人发生了POI。在不同算法中,LR表现最佳,AUC为0.80,而决策树表现最差,AUC为0.75。此外,LR模型在准确性(88.22%)、特异性(90.29%)、精确度(44.42%)和F1分数(54.25%)方面优于其他ML模型。尽管对随机森林分析采用了四种可解释方法,但结果仍存在一定程度的不一致。最后,为便于临床应用,我们基于LR算法建立了一个网络友好版本的列线图;此外,在预测POI时,患者被分为三个明显不同的风险区间。
与流行的ML算法相比,LR在预测接受大手术的老年患者的POI方面更有效。构建的列线图可以识别高危老年患者,并有助于围手术期管理规划。
该研究进行了回顾性注册(NCT06491459)。