Prediction of Acute Kidney Injury in Critically ill Patients with Community-Acquired Pneumonia Using Machine Learning

BackgroundThe incidence of acute kidney injury (AKI) is increased in patients with community-acquired pneumonia (CAP), contributing to poor outcomes in ICUs. Early identification of patients at high risk for AKI is essential for timely intervention. This study aimed to develop a machine learning model for predicting AKI in CAP patients.MethodsPatients with CAP were identified from the MIMIC-IV database using ICD codes. AKI was defined according to the KDIGO criteria. Baseline characteristics, vital signs, laboratory data, comorbidities, and clinical scores were extracted. LASSO regression was applied for feature selection, and eight machine learning models, including logistic regression, k-nearest neighbors, decision tree, random forest, support vector machine, neural network, XGBoost, and LightGBM, were developed. Model performance was evaluated using AUC, sensitivity, specificity, accuracy, recall, F1 score, calibration curves, and decision curve analysis (DCA). SHapley Additive exPlanations (SHAP) were used to interpret the final model. A web-based risk calculator was created for clinical application.ResultsA total of 3213 CAP patients were included, with 2723 (84.8%) developing AKI. XGBoost demonstrated the best performance with an AUC of 0.937 (95% CI: 0.922-0.952), sensitivity of 0.875, specificity of 0.855, accuracy of 0.865 (95% CI: 0.841-0.887), recall of 0.875, and F1 score of 0.866. DCA showed the highest net benefit for XGBoost across various risk thresholds. After recursive feature elimination, a simplified model with seven key variables, including urine output, weight, ventilation, first-day minimum PTT, first-day maximum sodium, first-day minimum heart rate, and first-day maximum temperature, maintained high predictive performance (AUC = 0.925, 95% CI: 0.908-0.941).ConclusionsThe XGBoost model accurately predicted AKI risk in CAP patients, demonstrating robust performance and clinical utility. The web-based calculator offers an accessible tool for individualized risk assessment, supporting early detection and management of AKI in ICUs.

Authors

Institutions

Publication Details

Journal
Journal of Intensive Care Medicine
Published
2025-06-16
DOI
https://doi.org/10.1177/08850666251349792
Primary Topic
Acute Kidney Injury Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of Acute Kidney Injury in Critically ill Patients with Community-Acquired Pneumonia Using Machine Learning

Tinghua Hu, Na Wang, Mengcong Li, Wenwen Ji et al.
Journal of Intensive Care Medicine
Acute Kidney Injury Research
article

Prediction of Acute Kidney Injury in Critically ill Patients with Community-Acquired Pneumonia Using Machine Learning

Tinghua Hu, Na Wang, Mengcong Li, Wenwen Ji, Guangdong Wang, Zhihong Shi, Tingting Liu
article en

Abstract

BackgroundThe incidence of acute kidney injury (AKI) is increased in patients with community-acquired pneumonia (CAP), contributing to poor outcomes in ICUs. Early identification of patients at high risk for AKI is essential for timely intervention. This study aimed to develop a machine learning model for predicting AKI in CAP patients.MethodsPatients with CAP were identified from the MIMIC-IV database using ICD codes. AKI was defined according to the KDIGO criteria. Baseline characteristics, vital signs, laboratory data, comorbidities, and clinical scores were extracted. LASSO regression was applied for feature selection, and eight machine learning models, including logistic regression, k-nearest neighbors, decision tree, random forest, support vector machine, neural network, XGBoost, and LightGBM, were developed. Model performance was evaluated using AUC, sensitivity, specificity, accuracy, recall, F1 score, calibration curves, and decision curve analysis (DCA). SHapley Additive exPlanations (SHAP) were used to interpret the final model. A web-based risk calculator was created for clinical application.ResultsA total of 3213 CAP patients were included, with 2723 (84.8%) developing AKI. XGBoost demonstrated the best performance with an AUC of 0.937 (95% CI: 0.922-0.952), sensitivity of 0.875, specificity of 0.855, accuracy of 0.865 (95% CI: 0.841-0.887), recall of 0.875, and F1 score of 0.866. DCA showed the highest net benefit for XGBoost across various risk thresholds. After recursive feature elimination, a simplified model with seven key variables, including urine output, weight, ventilation, first-day minimum PTT, first-day maximum sodium, first-day minimum heart rate, and first-day maximum temperature, maintained high predictive performance (AUC = 0.925, 95% CI: 0.908-0.941).ConclusionsThe XGBoost model accurately predicted AKI risk in CAP patients, demonstrating robust performance and clinical utility. The web-based calculator offers an accessible tool for individualized risk assessment, supporting early detection and management of AKI in ICUs.

Journal of Intensive Care MedicineVol. 40(12)
First Affiliated Hospital of Xi'an Jiaotong University (CN)
Openalex Percentile: Top 84%
Acute Kidney Injury Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.