Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Dec 28:17:6523-6534.
doi: 10.2147/IJGM.S493789. eCollection 2024.

Construction of Clinical Predictive Models for Heart Failure Detection Using Six Different Machine Learning Algorithms: Identification of Key Clinical Prognostic Features

Affiliations

Construction of Clinical Predictive Models for Heart Failure Detection Using Six Different Machine Learning Algorithms: Identification of Key Clinical Prognostic Features

Fang Zhou Qu et al. Int J Gen Med. .

Abstract

Purpose: Heart failure (HF) is a clinical syndrome in which structural or functional abnormalities of the heart result in impaired ventricular filling or ejection capacity. In order to improve the adaptability of models to different patient populations and data situations. This study aims to develop predictive models for HF risk using six machine learning algorithms, providing valuable insights into the early assessment and recognition of HF by clinical features.

Patients and methods: The present study focused on clinical characteristics that significantly differed between groups with left ventricular ejection fractions (LVEF) [≤40% and >40%]. Following the elimination of features with significant missing values, the remaining features were utilized to construct predictive models employing six machine learning algorithms. The optimal model was selected based on various performance metrics, including the area under the curve (AUC), accuracy, precision, recall, and F1 score. Utilizing the optimal model, the significance of clinical features was assessed, and those with importance values exceeding 0.8 were identified as crucial to the study. Finally, a correlation analysis was conducted to examine the relationships between these features and other significant clinical features.

Results: The logistic regression (LR) model was determined to be the optimal machine learning algorithm in this study, achieving an accuracy of 0.64, a precision of 0.45, a recall of 0.72, an F1 score of 0.51, and an AUC of 0.81 in the training set and 0.91 in the testing set. In addition, the analysis of feature importance indicated that blood calcium, angiotensin-converting enzyme inhibitors (ACEI) dosage, mean hemoglobin concentration, and survival duration were critical to the study, each possessing importance values exceeding 0.8. Furthermore, correlation analysis revealed a strong relationship between blood calcium and ionized calcium (|cor|=0.99), as well as a significant association between ACEI dosage (|cor|=0.68) and left ventricular metrics (|cor|=0.58); on the other hand, no correlations were observed between mean hemoglobin levels and other clinical characteristics.

Conclusion: The present study identified LR as the most effective risk prediction model for patients with HF, highlighting blood calcium, ACEI dosage, and mean hemoglobin level as significant predictors. These findings provide significant insights for the clinical prevention and early intervention of HF.

Keywords: area under the curve; blood calcium; correlation analysis; left ventricular ejection fractions; logistic regression.

PubMed Disclaimer

Conflict of interest statement

The authors report no conflicts of interest in this work.

Figures

Figure 1
Figure 1
ROC curves plotted based on six machine learning algorithms (a) test set (b) training set.
Figure 2
Figure 2
Clinical feature ranking based on LR model.
Figure 3
Figure 3
Results of correlation analysis of key clinical features with other significant clinical features.

Similar articles

References

    1. Savarese G, Becher PM, Lund LH, Seferovic P, Rosano GMC, Coats AJS. Global burden of heart failure: a comprehensive and updated review of epidemiology. Cardiovasc Res. 2023;118(17):3272–3287. doi:10.1093/cvr/cvac013 - DOI - PubMed
    1. Savarese G, Stolfo D, Sinagra G, Lund LH. Heart failure with mid-range or mildly reduced ejection fraction. Nat Rev Cardiol. 2022;19(2):100–116. doi:10.1038/s41569-021-00605-5 - DOI - PMC - PubMed
    1. Murphy SP, Ibrahim NE, Januzzi Jr JL. Heart failure with reduced ejection fraction: a review. JAMA. 2020;324(5):488–504. doi:10.1001/jama.2020.10262 - DOI - PubMed
    1. Lam PH, Keramida K, Filippatos GS, et al. Right ventricular ejection fraction and beta-blocker effect in heart failure with reduced ejection fraction. J Card Fail. 2022;28(1):65–70. doi:10.1016/j.cardfail.2021.07.026 - DOI - PubMed
    1. Berrill M, Ashcroft E, Fluck D, et al. Right ventricular dysfunction predicts outcome in acute heart failure. Front Cardiovasc Med. 2022;9:911053. doi:10.3389/fcvm.2022.911053 - DOI - PMC - PubMed