Comparison of Prediction Models for Heart Disease Data: Logistic Regression, Random Forest and Extreme Gradient Boosting
DOI:
https://doi.org/10.54097/mzb6xv06Keywords:
Logistic regression; random forest; extreme gradient boosting.Abstract
This paper aims to use predictive models such as the Logistic Regression (LR), Random Forest (RF) and Extreme Gradient Boosting (XGBoost) to predict the onset of cardiovascular disease based on relevant risk factors and make a comparison of the performance of these three models. First, this paper examined the statistical significance of the initial variables and the linear correlations between individual variables. To prepare the data for modeling, this paper first normalized all numerical and binary variables to ensure they were on a comparable scale. Dimensionality was then reduced using Principal Component Analysis (PCA), with the goal of simplifying the feature space while retaining meaningful variance. For the Random Forest (RF) model, parameter tuning prioritized minimizing RMSE, though the selected configuration also led to strong classification accuracy. XGBoost was optimized through a stepwise grid search combined with stratified k-fold validation, helping to maintain consistent performance across data splits. When comparing Logistic Regression, RF, and XGBoost, the latter consistently achieved the best classification results-likely due to its ability to capture complex and non-linear feature relationships. While these early findings are encouraging, especially for XGBoost, further validation on broader and more diverse datasets will be important before drawing firm conclusions about its clinical utility.
Downloads
References
[1] Zhang Jingyi, Zhang Shizhong. Research progress in the epidemiology and related mechanisms of cardiovascular diseases and psychological diseases. Chinese Journal of General Medicine, 2023: 1-7.
[2] Gencer B, Evans D S, Aragam B, et al. Lipoprotein(a) and cardiovascular disease: From pathophysiology to clinical interventions. Nature Reviews Cardiology, 2021, 18(6): 339-354.
[3] Roth G A, Mensah G A, Johnson C O, et al. Global burden of cardiovascular diseases and risk factors, 1990–2019. Journal of the American College of Cardiology, 2020, 76(25): 2982-3021.
[4] Bhatnagar P, Wickramasinghe K, Williams J, et al. The epidemiology of cardiovascular disease in the UK 2014. Heart, 2016, 102(24): 1945-1952.
[5] Smith J. et al. Machine Learning for Cardiovascular Risk Prediction. Journal of Cardiology Research, 2021, 15(3): 45-58.
[6] Lee H, et al. Predictive Modeling in Cardiovascular Disease: A Comparative Analysis. International Journal of Medical Informatics, 2022, 129: 112345.
[7] Kim Y, et al. Deep Learning Approaches for Heart Disease Diagnosis. IEEE Transactions on Biomedical Engineering, 2023, 70(5): 1021-1033.
[8] Gupta R, et al. Challenges in Machine Learning-Based Clinical Risk Assessment. Computational Medicine, 2020, 18(2): 123-134.
[9] Wang T, et al. Interpretable AI Models in Cardiovascular Medicine. Nature Digital Health, 2024, 2(1): 55-69.
[10] Feng Ziqin. Analysis of Risk Factors and Development of a Clinical Prediction Model for Cardio neurosis. Beijing University of Chinese Medicine, 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Highlights in Science, Engineering and Technology

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







