ResearchOpen Heart · Jul 16, 2026

Differentiating HFmr/rEF from HFpEF using standard 12-lead ECG measurements: an interpretable machine learning study

Zhao C, Chan PJ, Dougherty S, Fan Y, Lee APW
CardiologyDigital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Differentiating heart failure (HF) with mildly reduced/reduced ejection fraction (HFmr/rEF) from HF with preserved ejection fraction (HFpEF) guides therapy but echocardiography may be delayed or unavailable. We developed and validated machine learning models using routine 12-lead ECG data to classify HF phenotypes. Methods In this retrospective cohort of hospitalised patients with HF, predictors available at or before the index ECG were used. HFmrEF was pooled with HFrEF (left ventricular ejection fraction <50%) for model development. Data were split 70/30 into training and held-out test sets. Random forest (RF), Extreme Gradient Boosting and support vector machine models were trained and tuned using fivefold cross-validation in the training set. Boruta was used to select key ECG features. Test-set performance was evaluated by area under the curve (AUC) and accuracy; AUCs were compared using DeLong's test. Results Overall, 495 patients were included (254 HFmr/rEF; 241 HFpEF). RF consistently performed best. Using ECG features alone, RF achieved an AUC of 0.821 (95% CI 0.752 to 0.890) and accuracy of 75.7%. A parsimonious RF model using 12 Boruta-selected ECG variables achieved an AUC of 0.832 (95% CI 0.766 to 0.899) and accuracy of 76.4%, with no significant AUC difference versus a comprehensive RF model using clinical/laboratory/ECG predictors (AUC 0.804, 95% CI 0.734 to 0.875; p=0.288) or the model using all ECG features (p=0.092). Adding X-ray cardiomegaly did not improve performance. Conclusion A parsimonious RF model based on a small set of standard ECG measurements differentiates HFmr/rEF from HFpEF with good discrimination, supporting ECG as an adjunct for phenotyping when echocardiography is not immediately available.

Abstract reproduced under the article’s CC BY NC licence.

More on this topic

Heart failureAI in medicine

Subject terms

Humans; Electrocardiography; Stroke Volume; Heart Failure; Retrospective Studies; Ventricular Function, Left; Machine Learning; Female; Male; Aged; Predictive Value of Tests; Random Forest

DOI: 10.1136/openhrt-2026-004127 · PubMed: 42463275

Cite this article

Zhao C, Chan PJ, Dougherty S, Fan Y, Lee APW. Differentiating HFmr/rEF from HFpEF using standard 12-lead ECG measurements: an interpretable machine learning study. Open Heart. 2026;13(2). doi:10.1136/openhrt-2026-004127

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Cardiology studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · J Am Heart Assoc · Jul 28, 2026 · Cardiology, Digital Health & AI

ECG-Based Artificial Intelligence for Classifying Left Ventricular Dysfunction and Heart Failure With Preserved Ejection Fraction

Review · J Am Heart Assoc · Feb 20, 2026 · Cardiology, Digital Health & AI

Translating Mechanistic Insights Into Action and Revealing New Pathways: Machine Learning Approaches in Heart Failure With Preserved Ejection Fraction

Meta-analysis n = 1,008 · Cardiovasc Diabetol · Aug 21, 2025 · Cardiology

SGLT2 inhibitors were associated with reductions in left ventricular volume and mass in heart failure patients

Research · J Am Heart Assoc · Aug 30, 2026 · Cardiology

Noninvasive Diagnosis of Heart Failure With Preserved Ejection Fraction Using the Left Atrioventricular Coupling Index

Research · J Am Heart Assoc · Oct 10, 2026 · Cardiology, Digital Health & AI

Machine learning identifies three heart failure phenogroups with distinct outcomes