Why the study?
Unpredictable heart failure progression causes prognostic uncertainty, which is a barrier to timely implementation of advance care planning.
Do machine learning prognostic models (Lasso and Random Forests) improve the prediction of 3-, 6-, and 12-month mortality and heart failure (re)hospitalisation compared to the MAGGIC risk score in patients with heart failure?
Observational (n=77,597)
No
Do machine learning prognostic models (Lasso and Random Forests) improve the prediction of 3-, 6-, and 12-month mortality and heart failure (re)hospitalisation compared to the MAGGIC risk score in patients with heart failure?
Machine learning models using routine clinical data significantly outperform the MAGGIC risk score in predicting mortality and rehospitalisation in heart failure patients, offering a tool to guide timely advance care planning.
Answers are grounded in this paper and cite their sources.
ML models may aid HF mortality prediction beyond MAGGIC; leaves open integration into advance care planning pending prospective validation.
Background End stage heart failure (HF) places a significant burden on patients and caregivers. Advance care planning (ACP) allows clinicians and patients to discuss their preferences in treatment approach. However, unpredictable HF progression causes prognostic uncertainty, which is a barrier to timely implementation of ACP. Purpose In this study we developed machine learning models to predict mortality and HF (re)hospitalisation at 3, 6, and 12 months in patients with HF at a large tertiary hospital in the Netherlands. Methods Separate prognostic models were developed for discharge after hospitalisation and for outpatient visit. Each encounter was treated as an inclusion event, with weights inversely proportional to the number of inclusion events per patient to ensure equal contribution. Candidate features included demographics, vital signs, conditions, medication, laboratory values, and procedures, resulting in 490 candidate features. For some features, short-term (≤3 years before encounter) and long-term (>3 years) variants were included. Two algorithms were compared: ℓ1-regularised Logistic Regression (Lasso) and Random Forests (RF). Models were evaluated for discrimination (AUC) and calibration (Brier Score), and benchmarked against the MAGGIC risk score for 1-year mortality. Results We included 77,597 patient encounters (15,732 inpatient; 61,865 outpatient). Median age was 71 [IQR: 61-78] years and 39.2% was female. Both Lasso and RF significantly outperform the MAGGIC benchmark (AUC: 0.706 [95%-CI: 0.683, 0.728]), achieving AUCs of 0.815 [0.796, 0.833] and 0.811 [0.793, 0.830] in the inpatient setting, respectively. Similar performance is achieved in the outpatient setting. Performance does not differ significantly between Lasso and RF across settings and outcomes (p > 0.10), and remains consistent across time horizons. Given its greater interpretability, we focussed on Lasso. The AUC for 1-year HF (re)hospitalisation is 0.705 [0.686, 0.724] inpatient and 0.741 [0.731, 0.752] outpatient. Brier Scores are 0.121 (mortality) and 0.208 (HF (re)hospitalisation) inpatient, and 0.090 and 0.152 outpatient (Figure 1). Top predictors for mortality are age, urea, and sodium. For HF (re)hospitalisation, encounter characteristics such as prior HF hospitalisation or unplanned visits are most important (Figure 2). Conclusion The machine learning models significantly outperform the MAGGIC benchmark with promising calibration and discrimination. The models are deployable as clinical decision support at any inpatient or outpatient encounter and the comparable performance across time horizons enables clinicians to personalise ACP planning for each individual patient. This is an early indication that artificial intelligence can be leveraged to reduce prognostic uncertainty in HF progression and support clinicians in timely ACP initiation.
No takes yet. Share an insight, caveat, or question.
Tans et al. (2026) conducted an observational in Heart failure (n=77,597). Machine learning prognostic models (Lasso and Random Forests) vs. MAGGIC risk score was evaluated on 1-year mortality and heart failure (re)hospitalisation prediction (discrimination via AUC and calibration via Brier Score) (AUC 0.815 (Lasso) and 0.811 (RF) vs 0.706 (MAGGIC) for inpatient 1-year mortality, 95% CI 0.796-0.833).
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: