BMC Nephrology (Jul 2025)
An explainable machine learning model for early warning of hypertensive and hypotensive anomalies in maintenance hemodialysis patients
Abstract
Abstract Background Intradialytic hypotension (IDH) and intradialytic hypertension (IDHTN) are major complications of maintenance hemodialysis (MHD) that significantly impact patient morbidity and mortality. Effective, explainable prediction of IDH and IDHTN can improve their management. Methods This study introduces a dual-model system for predicting IDH and IDHTN, using SHAP (SHapley Additive exPlanations) to enhance explainability. We analyzed data from maintenance dialysis patients at the Second Hospital of Lanzhou University, covering treatments from February 2019 to August 2023. Two models were developed: Model A, with a small set of easily obtainable features, and Model B, with a comprehensive set of multidimensional features. Results The study cohort included 193 patients and 45,825 dialysis samples, with an average age of 54 years and 66.32% male. Model A used 12 features, while Model B used 51. Models were trained using XGBoost, Random Forest, logistic regression, and KNN. Random Forest achieved the highest AUROC of 0.7160 in Model A. XGBoost reached an AUROC of 0.7412 in Model B. SHAP analysis identified key predictors such as pre-dialysis blood pressure, lactate dehydrogenase, and age. Older patients (>60 years) were at higher risk for hypotension. A larger gradient between plasma sodium and dialysate sodium was associated with increased IDH risk and required more aggressive ultrafiltration. Adjusting the sodium gradient through dialysate sodium concentration may help manage IDHTN risk. Conclusions This study demonstrates that explainable AI models can predict IDH and IDHTN risks accurately before treatment, potentially reducing severe adverse events and improving patient outcomes. Clinical trial number Not applicable.
Keywords