The final, formatted version of the article will be published soon.
ORIGINAL RESEARCH article
Front. Public Health
Sec. Infectious Diseases: Epidemiology and Prevention
Volume 12 - 2024 |
doi: 10.3389/fpubh.2024.1468504
This article is part of the Research Topic Outbreak Investigations of Nosocomial Infections View all 9 articles
Development and validation of interpretable machine learning models for postoperative pneumonia prediction
Provisionally accepted- 1 West China Hospital, Sichuan University, Chengdu, China
- 2 Chengfei Hospital, Chengdu, Sichuan Province, China
- 3 The Second Affiliated Hospital of Kunming Medical University, Kunming, Yunnan Province, China
- 4 First Affiliated Hospital of Chengdu Medical College, Chengdu, Sichuan Province, China
Postoperative pneumonia, a prevalent form of hospital-acquired pneumonia, poses significant risks to patients' prognosis and even their lives. This study aimed to develop and validate a predictive model for postoperative pneumonia in surgical patients using nine machine learning methods.Our study aims to develop and validate a predictive model for POP in surgical patients using nine machine learning algorithms. By evaluating the performance differences among these machine learning models, this study aims to assist clinicians in early prediction and diagnosis of POP, providing optimal interventions and treatments.Retrospective data from electronic medical records was collected for 264 patients diagnosed with postoperative pneumonia and 264 healthy control surgical patients. Through correlation screening, chi-square tests, and feature importance ranking, 47 variables were narrowed down to 5 potential predictive factors based on the main cohort of 528 patients. Nine machine learning models, including k-nearest neighbors, support vector machine, random forest, decision tree, gradient boosting machine, adaptive boosting, naive bayes, general linear model, and linear discriminant analysis, were developed and validated to predict postoperative pneumonia. Model performance was evaluated using the area under the receiver operating curve, sensitivity, specificity, accuracy, precision, recall, and F1 score. A distribution plot of feature importance and feature interaction was obtained to interpret the machine learning models.Among 17,190 surgical patients, 264 (1.54%) experienced postoperative pneumonia, which resulted in adverse outcomes such as prolonged hospital stay, increased ICU admission rates, and mortality. We successfully established nine machine learning models for predicting postoperative pneumonia in surgical patients, with the general linear model demonstrating the best overall performance. The AUC of the general linear model on the testing set was 0.877, with an accuracy of 0.82, specificity of 0.89, sensitivity of 0.74, precision of 0.88, and F1 score of 0.80. Our study revealed that the duration of bed rest, unplanned re-operation, end-tidal CO2, postoperative albumin, and chest X-ray film were significant predictors of postoperative pneumonia.Our study firstly demonstrated that the general linear model based on 5 common variables might predict postoperative pneumonia in the general surgical population.
Keywords: Postoperative pneumonia, machine learning, Prediction model, Risk factors, Perioperative Medicine
Received: 22 Jul 2024; Accepted: 29 Nov 2024.
Copyright: © 2024 Xiang, 2401900316, Jiao, Wang and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Wensheng Zhang, West China Hospital, Sichuan University, Chengdu, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.