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
. 2023 Apr 14;18(4):e0284103.
doi: 10.1371/journal.pone.0284103. eCollection 2023.

Use of machine learning to identify risk factors for coronary artery disease

Affiliations

Use of machine learning to identify risk factors for coronary artery disease

Alexander A Huang et al. PLoS One. .

Abstract

Coronary artery disease (CAD) is the leading cause of death in both developed and developing nations. The objective of this study was to identify risk factors for coronary artery disease through machine-learning and assess this methodology. A retrospective, cross-sectional cohort study using the publicly available National Health and Nutrition Examination Survey (NHANES) was conducted in patients who completed the demographic, dietary, exercise, and mental health questionnaire and had laboratory and physical exam data. Univariate logistic models, with CAD as the outcome, were used to identify covariates that were associated with CAD. Covariates that had a p<0.0001 on univariate analysis were included within the final machine-learning model. The machine learning model XGBoost was used due to its prevalence within the literature as well as its increased predictive accuracy in healthcare prediction. Model covariates were ranked according to the Cover statistic to identify risk factors for CAD. Shapely Additive Explanations (SHAP) explanations were utilized to visualize the relationship between these potential risk factors and CAD. Of the 7,929 patients that met the inclusion criteria in this study, 4,055 (51%) were female, 2,874 (49%) were male. The mean age was 49.2 (SD = 18.4), with 2,885 (36%) White patients, 2,144 (27%) Black patients, 1,639 (21%) Hispanic patients, and 1,261 (16%) patients of other race. A total of 338 (4.5%) of patients had coronary artery disease. These were fitted into the XGBoost model and an AUROC = 0.89, Sensitivity = 0.85, Specificity = 0.87 were observed (Fig 1). The top four highest ranked features by cover, a measure of the percentage contribution of the covariate to the overall model prediction, were age (Cover = 21.1%), Platelet count (Cover = 5.1%), family history of heart disease (Cover = 4.8%), and Total Cholesterol (Cover = 4.1%). Machine learning models can effectively predict coronary artery disease using demographic, laboratory, physical exam, and lifestyle covariates and identify key risk factors.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Restricted operator characteristic curve and model statistics.
The ROC Curve for the machine-learning model predicting coronary artery disease. AUROC = 0.89.
Fig 2
Fig 2. Overall SHAP explanations.
SHAP explanations, purple color representing higher values of the covariate while yellow representing lower values of the covariate. X-axis is the change in log-odds for CAD.
Fig 3
Fig 3. SHAP explanations for the top 4 covariates.
SHAP explanations, covariate value on the x-axis, change in log-odds on the y-axis, red line represents the relationship between the covariate and log-odds for CAD, each black dot represents an observation. Covariates (top left—Age, top right—Total Cholesterol, bottom left—platelets, bottom right—Close relative with a heart attack (Yes = 1, no = 2)).
Fig 4
Fig 4
a: Covariates of interest to evaluate sensibility of the model. SHAP explanations for the relationship between HDL-Cholesterol and odds of CAD. Covariate value on the x-axis, change in log-odds on the y-axis, red line represents the relationship between the covariate and log-odds for CAD, each black dot represents an observation. b: SHAP explanations for the relationship between Systolic blood pressure and odds of CAD. Covariate value on the x-axis, change in log-odds on the y-axis, red line represents the relationship between the covariate and log-odds for CAD, each black dot represents an observation.

Similar articles

Cited by

References

    1. Albar HM, Alahmdi RA, Almedimigh AA, et al.. Prevalence of coronary artery disease and its risk factors in Majmaah City, Kingdom of Saudi Arabia. Front Cardiovasc Med. 2022;9:943611. doi: 10.3389/fcvm.2022.943611 - DOI - PMC - PubMed
    1. AlOthman AF, Sait ARW, Alhussain TA. Detecting Coronary Artery Disease from Computed Tomography Images Using a Deep Learning Technique. Diagnostics (Basel). Aug 26 2022;12(9) doi: 10.3390/diagnostics12092073 - DOI - PMC - PubMed
    1. Bhattad PB, Sherif AA, Mishra AK, Roumia M. Left Main Coronary Artery Disease: The Forgotten Lead of Electrocardiogram Is Predictive. Cureus. Aug 2022;14(8):e28391. doi: 10.7759/cureus.28391 - DOI - PMC - PubMed
    1. Luu JM, Wei J, Shufelt CL, et al.. Clinical Practice Variations in the Management of Ischemia With No Obstructive Coronary Artery Disease. J Am Heart Assoc. Sep 29 2022:e022573. doi: 10.1161/JAHA.121.022573 - DOI - PMC - PubMed
    1. Maamari DJ, Brockman DG, Aragam K, et al.. Clinical Implementation of Combined Monogenic and Polygenic Risk Disclosure for Coronary Artery Disease. JACC Adv. Aug 2022;1(3) doi: 10.1016/j.jacadv.2022.100068 - DOI - PMC - PubMed