Machine-learning approaches for major adverse cardiovascular event prediction in patients on hemodialysis
Background: Cardiovascular disease (CVD) remains the leading cause of morbidity and mortality among patients undergoing maintenance hemodialysis (HD). Major adverse cardiovascular events (MACE) occur at disproportionately high rates in this population. Traditional statistical models have limited predictive ability in HD patients because they fail to capture the complex, nonlinear, and time-dependent interactions among clinical and dialysis-related factors. Machine learning (ML) algorithms may overcome these limitations and enable individualized risk prediction. Methods: We retrospectively analyzed 1645 HD patients (28 788 sessions) from the Taiwan Society of Nephrology Kidney Dialysis Therapy Database between 2014 and 2023. The primary outcome was incident MACE within 3, 6, and 12 months after each dialysis session. Four ML models – Extreme Gradient Boosting (XGBoost), Random Forest (RF), logistic regression, and k-nearest neighbors (KNN) – were trained using 64 clinical features and progressively simplified to 20 and 15 variables. To address the longitudinal data structure, model performance was evaluated using both session-level random splitting and patient-level splitting, with the latter reflecting generalizability to unseen patients. Discrimination was assessed using the area under the receiver operating characteristic curve (AUROC), and model interpretability was examined using Shapley Additive exPlanations. Results: Tree-based models (RF and XGBoost) consistently outperformed logistic regression and KNN across all time horizons. In patient-level analysis, the RF model using 64 features achieved robust performance for 6-month MACE prediction (AUROC ≈0.75), supporting generalizability across individuals. In contrast, session-level analysis demonstrated substantially higher discrimination (e.g., AUROC up to 0.97 at 12 months), reflecting enhanced within-patient risk stratification incorporating time-varying clinical signals. Key predictors included age, cardiothoracic ratio, glucose, albumin, ferritin, transferrin saturation, and alkaline phosphatase. Predictive performance declined at shorter prediction horizons, likely due to event sparsity and class imbalance. Conclusions: An RF model using routinely collected clinical variables enables both generalizable patient-level cardiovascular risk prediction and refined session-level risk stratification in HD patients. While session-level analysis provides high-resolution, real-time discrimination, patient-level performance offers a more conservative and clinically relevant estimate of model generalizability. These findings support the potential role of ML in dialysis cardiovascular risk assessment, although further prospective validation is required before clinical implementation.
Authors
- Yen-Wei Chu (ORCID: https://orcid.org/0000-0002-5525-4011)
- Cheng‐Hsu Chen (ORCID: https://orcid.org/0000-0002-1299-5055)
- Min-Shian Wang
- Shang‐Feng Tsai (ORCID: https://orcid.org/0000-0002-6119-0587)
- Yin-Tzer Shih
Institutions
- National Chung Hsing University (TW)
- Tunghai University (TW)
- Taichung Veterans General Hospital (TW)
Publication Details
- Journal
- International Journal of Surgery
- Published
- 2026-06-18
- DOI
- https://doi.org/10.1097/js9.0000000000005421
- Primary Topic
- Dialysis and Renal Disease Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00