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 Dec;25(12):1135-1144.
doi: 10.1111/jch.14745. Epub 2023 Nov 16.

Shapely additive values can effectively visualize pertinent covariates in machine learning when predicting hypertension

Affiliations

Shapely additive values can effectively visualize pertinent covariates in machine learning when predicting hypertension

Alexander A Huang et al. J Clin Hypertens (Greenwich). 2023 Dec.

Abstract

Machine learning methods are widely used within the medical field to enhance prediction. However, little is known about the reliability and efficacy of these models to predict long-term medical outcomes such as blood pressure using lifestyle factors, such as diet. The authors assessed whether machine-learning techniques could accurately predict hypertension risk using nutritional information. A cross-sectional study using data from the National Health and Nutrition Examination Survey (NHANES) between January 2017 and March 2020. XGBoost was used as the machine-learning model of choice in this study due to its increased performance relative to other common methods within medical studies. Model prediction metrics (e.g., AUROC, Balanced Accuracy) were used to measure overall model efficacy, covariate Gain statistics (percentage each covariate contributes to the overall prediction) and SHapely Additive exPlanations (SHAP, method to visualize each covariate) were used to provide explanations to machine-learning output and increase the transparency of this otherwise cryptic method. Of a total of 9650 eligible patients, the mean age was 41.02 (SD = 22.16), 4792 (50%) males, 4858 (50%) female, 3407 (35%) White patients, 2567 (27%) Black patients, 2108 (22%) Hispanic patients, and 981 (10%) Asian patients. From evaluation of model gain statistics, age was found to be the single strongest predictor of hypertension, with a gain of 53.1%. Additionally, demographic factors such as poverty and Black race were also strong predictors of hypertension, with gain of 4.33% and 4.18%, respectively. Nutritional Covariates contributed 37% to the overall prediction: Sodium, Caffeine, Potassium, and Alcohol intake being significantly represented within the model. Machine Learning can be used to predict hypertension.

Keywords: SHAP; cardiology; hypertension; machine learning; model transparency; statistics.

PubMed Disclaimer

Conflict of interest statement

The authors have no financial or personal conflicts of interest.

Figures

FIGURE 1
FIGURE 1
The ROC curve for the final machine‐learning model combined with accuracy metrics.
FIGURE 2
FIGURE 2
Overall SHAP model. Purple values representing higher values of covariate and yellow values represent lower values. The x‐axis representing change in log‐odds of having hypertension.
FIGURE 3
FIGURE 3
Overall individual covariates which increase the odds of having hypertension. Each black dot represents an observation in the data‐set, and the red line is the trend‐line for each covariate.
FIGURE 4
FIGURE 4
Overall individual covariates which decrease the odds of having hypertension. Each black dot represents an observation in the dataset, and the red line is the trend‐line for each covariate.
FIGURE 5
FIGURE 5
Overall SHAP explanations for calcium and potassium and their odds of predicting hypertension. Each black dot represents an observation in the dataset, and the red line is the trend‐line for each covariate.

Similar articles

Cited by

References

    1. Cho AR, Kwon YJ, Kim JK. Pre‐metabolic syndrome and incidence of type 2 diabetes and hypertension: from the Korean genome and epidemiology study. J Pers Med. 2021;11(8):700. - PMC - PubMed
    1. Dobrowolski P, Prejbisz A, Kurylowicz A, et al. Metabolic syndrome—a new definition and management guidelines: a joint position paper by the Polish Society of Hypertension, Polish Society for the Treatment of Obesity, Polish Lipid Association, Polish Association for Study of Liver, Polish Society of Family Medicine, Polish Society of Lifestyle Medicine, Division of Prevention and Epidemiology Polish Cardiac Society, “Club 30” Polish Cardiac Society, and Division of Metabolic and Bariatric Surgery Society of Polish Surgeons. Arch Med Sci. 2022;18(5):1133‐1156. - PMC - PubMed
    1. Hamoudi A, Ben Abdelaziz A, Melki S, et al. Epidemiology of arterial hypertension in Tunisia: Hammam Sousse Sahloul Heart Study (HSHS). Tunis Med. 2022;100(2):167‐179. - PMC - PubMed
    1. Jentzer JC, Wiley BM, Reddy YNV, Barnett C, Borlaug BA, Solomon MA. Epidemiology and outcomes of pulmonary hypertension in the cardiac intensive care unit. Eur Heart J Acute Cardiovasc Care. 2022;11(3):230‐241. - PMC - PubMed
    1. Kim SH, Shin C, Kim S, et al. Prevalence of isolated nocturnal hypertension and development of arterial stiffness, left ventricular hypertrophy, and silent cerebrovascular lesions: the KoGES (Korean Genome and Epidemiology Study). J Am Heart Assoc. 2022;11(19):e025641. - PMC - PubMed