Interpretable machine learning for cardiovascular risk prediction: Insights from NHANES dietary and health data
Md Ahiduzzaman, Md Nahid Hasan
University of Central Florida · East Texas A&M University
Key points
From the paper's conclusion- This study aimed to develop transparent machine learning (ML) models using National Health and Nutrition Examination Survey (NHANES) data from 2017-2023 to predict CVD risk based on dietary and health factors.
Abstract
BACKGROUND: Cardiovascular diseases (CVD) are one of the leading global causes of death, which requires an accurate early prediction. This study aimed to develop transparent machine learning (ML) models using National Health and Nutrition Examination Survey (NHANES) data from 2017-2023 to predict CVD risk based on dietary and health factors. METHODS: We analyzed data from 12,382 adults (aged 18 and older) from NHANES 2017-2023, including 41 dietary, anthropometric, clinical, and demographic variables. Recursive Feature Elimination (RFE) was used to select an optimal subset of 30 predictors. To address substantial class imbalance in the outcome, we applied the Random Over-Sampling Examples (ROSE) technique to the training data. Five machine learning models-Logistic Regression, Random Forest, Support Vector Machines, XGBoost, and LightGBM-were trained and evaluated. Model interpretability was assessed using LIME and SHAP. RESULTS: Participants with CVD differed significantly from those without CVD in age, waist circumference, systolic blood pressure, C-reactive protein (CRP), and multiple dietary nutrients, with a consistently lower nutrient intake in the CVD group. Among the ML models evaluated, XGBoost achieved the highest accuracy (0.8216) and recall (0.8645), while Random Forest showed the highest AUROC (0.8139). Interpretability analyses identified age as the strongest predictor, followed by vitamin B12, total cholesterol, CRP, and waist circumference. CONCLUSION: Interpretable ML models effectively identified key dietary and clinical factors for CVD risk. Nutrients like vitamin B12 and niacin, alongside established clinical indicators, emerged as significant predictors, underscoring their potential role in nutritional interventions and public health strategies for CVD prevention.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable machine learning for the classification of prevalent cardiovascular disease using clinical and nutritional factors in United States adults: a cross-sectional analysis of the National Health and Nutrition Examination Survey 2011–2018Research Connections · 2026
- Web-based cardiovascular disease risk prediction using machine learningFrontiers in Artificial Intelligence · 2026
- Improving 10-year cardiovascular disease risk prediction using automated machine learning.International journal of cardiology · 2026
- SmartHeart: A conceptual framework for explainable machine learning in cardiovascular risk predictionComputers in Biology and Medicine · 2025
- Development and interpretable validation of a machine-learning model for edentulism risk in US adults: A cross-sectional study integrating five algorithms and dietary data from NHANES 2009-2014.Medicine · 2026
- Machine Learning-Based Risk Prediction of Heart DiseaseITM Web of Conferences · 2026