Development and interpretability of a machine learning-derived model for predicting the risk of subsequent short-term infection in patients undergoing maintenance hemodialysis: a retrospective cohort study
Xuefei Liang, Jie Huang, Xianhong Huang, Feng Li, Yongzhao Li, Hengxue Su, Ronglan Yang, Liqing Li
Key points
From the paper's conclusion- This study developed and validated an interpretable ML model using routine baseline laboratory data to predict short-term infection risk.
Abstract
Background Infections are a major cause of mortality in hemodialysis patients, but early risk stratification remains difficult. This study developed and validated an interpretable ML model using routine baseline laboratory data to predict short-term infection risk. Methods A retrospective cohort of 622 hemodialysis patients with uremia was analyzed. The primary outcome was a confirmed infectious event (infection, sepsis, or pneumonia) occurring within a 2-month follow-up. To rigorously prevent data leakage, the cohort was strictly partitioned into training (70%) and test (30%) sets prior to missing value imputation and any downstream preprocessing. A LightGBM-based forward feature selection was executed exclusively within the training set. Nine ML algorithms were evaluated, and model robustness was validated via nested cross-validation, repeated cross-validation, and bootstrap optimism correction. Interpretability was achieved using SHapley Additive exPlanations (SHAP). Results Subsequent infections occurred in 157 patients (25.2%). A parsimonious six-biomarker signature (CysC, HCT, TP, MONO_pct, MYO, ADA) was identified. The K-Nearest Neighbors (KNN) and LightGBM models demonstrated robust discriminative performance (Test AUROC: 0.727 and 0.719, respectively). Nested cross-validation confirmed generalization stability (e.g., ANN mean AUC: 0.722). SHAP analysis revealed elevated Cystatin C and lowered Hematocrit as the strongest contributors to the model’s risk ranking. Although the model showed high ranking ability, the default 0.5 threshold yielded low sensitivity; a prespecified F2‑optimized threshold of 0.30 improved sensitivity to 0.723 in the test set. Conclusion This interpretable machine learning‑based predictive model, using routinely available laboratory data, may serve as a potential adjunctive decision‑support tool for stratifying short‑term infection risk. External validation is required before clinical implementation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Development and validation of an interpretable machine learning model for predicting multidrug-resistant infections in ICU patientsFrontiers in Cellular and Infection Microbiology · 2026
- Development and validation of machine learning models to predict in-hospital mortality in ICU patients with sepsis and chronic kidney diseaseBMC Infectious Diseases · 2025
- Prediction of long-term mortality in maintenance hemodialysis patients using machine learning survival models: a prospective multicenter study with SHAP-based interpretation.Frontiers in nutrition · 2026
- Machine learning-based prediction model for hypoalbuminemia in ICU patients with venous thromboembolism and acute kidney injury.Frontiers in medicine · 2026
- Development and validation of a prognostic prediction model for elderly patients with sepsis-associated acute kidney injury based on interpretable machine learning.Frontiers in medicine · 2026
- Development and internal-external validation of a machine learning-based risk prediction model for multidrug resistance in mechanically ventilated ICU patients with chronic obstructive pulmonary disease.Frontiers in medicine · 2026