Machine Learning Accurately Predicts Need for Critical Care Support in Patients Admitted to Hospital for Community-Acquired Pneumonia.

Publication date: Jun 01, 2025

Hospitalized community-acquired pneumonia (CAP) patients are admitted for ventilation, vasopressors, and renal replacement therapy (RRT). This study aimed to develop a machine learning (ML) model that predicts the need for such interventions and compare its accuracy to that of logistic regression (LR). This retrospective observational study trained separate models using random-forest classifier (RFC), support vector machines (SVMs), Extreme Gradient Boosting (XGBoost), and multilayer perceptron (MLP) to predict three endpoints: eventual use of invasive ventilation, vasopressors, and RRT during hospitalization. RFC-based models were overall most accurate in a derivation COVID-19 CAP cohort and were validated in one COVID-19 CAP and two non-COVID-19 CAP cohorts. This study is part of the Community-Acquired Pneumonia: Toward InnoVAtive Treatment (CAPTIVATE) Research program. Two thousand four hundred twenty COVID-19 and 1909 non-COVID-19 CAP patients over 18 years old hospitalized and not needing invasive ventilation, vasopressors, and RRT on the day of admission were included. None. Performance was evaluated with area under the receiver operating characteristic curve (AUROC) and accuracy. RFCs performed better than XGBoost, SVM, and MLP models. For comparison, we evaluated LR models in the same cohorts. AUROC was very high ranging from 0. 74 to 0. 95 in predicting ventilation, vasopressors, and RRT use in our derivation and validation cohorts. ML used and variables such as Fio, Glasgow Coma Scale, and mean arterial pressure to predict ventilator, vasopressor use, creatinine, and potassium to predict RRT use. LR was less accurate than ML, with AUROC ranging 0. 66 to 0. 8. A ML algorithm more accurately predicts need of invasive ventilation, vasopressors, or RRT in hospitalized non-COVID-19 CAP and COVID-19 patients than regression models and could augment clinician judgment for triage and care of hospitalized CAP patients.

Open Access PDF

Concepts Keywords
Accurate Aged
Clinician Community-Acquired Infections
Pneumonia Community-Acquired Pneumonia
Potassium community-acquired pneumonia
Xgboost COVID-19
COVID-19
Critical Care
Female
Hospitalization
Humans
Machine Learning
machine learning
Male
Middle Aged
Pneumonia
Renal Replacement Therapy
renal replacement therapy
Respiration, Artificial
Retrospective Studies
SARS-CoV-2
Vasoconstrictor Agents
Vasoconstrictor Agents
vasopressors
ventilation

Semantics

Type Source Name
disease MESH Pneumonia
drug DRUGBANK Flunarizine
disease MESH COVID-19
drug DRUGBANK Tropicamide
disease MESH Coma
drug DRUGBANK Creatinine
drug DRUGBANK Potassium
disease IDO algorithm
disease MESH Long Covid
disease MESH Community-Acquired Infections

Original Article

(Visited 1 times, 1 visits today)