Machine Learning–Based Analysis of Lifestyle Risk Factors for Atherosclerotic Cardiovascular Disease: Retrospective Case-Control Study
Open Access
- 7 August 2025
- journal article
- machine learning
- Published by JMIR Publications Inc. in JMIR Medical Informatics
- Vol. 13, e74415
Abstract
Background: The risk of developing atherosclerotic cardiovascular disease (ASCVD) varies among individuals and is related to a variety of lifestyle factors in addition to the presence of chronic diseases. Objective: We aimed to assess the predictive accuracy of machine learning (ML) models incorporating lifestyle risk behaviors for ASCVD risk using the Korean nationwide database. Methods: Using data from the Korea National Health and Nutrition Examination Survey, 5 ML algorithms were used for the prediction of high ASCVD risk: logistic regression (LR), support vector machine, random forest, extreme gradient boosting, and light gradient boosting models. ASCVD risk was assessed using the pooled cohort equations, with a high-risk threshold of ≥7.5% over 10 years. Among the 8573 participants aged 40‐79 years, propensity score matching (PSM) was used to adjust for demographic confounders. We divided the dataset into a training and a test dataset in an 8:2 ratio. We also used bootstrapping to train the ML model with the area under the receiver operating characteristics curve score. Shapley additive explanations were used to identify the models’ important variables in assessing high ASCVD risks. In sensitivity analysis, we additionally performed binary LR analysis, in which the ML model’s results were consistent with the conventional statistical model. Results: Of the 8573 participants, 41.7% (n=3578) had high ASCVD risk. Before PSM, age and sex differed significantly between groups. PSM (1:1) yielded 1976 patients with balanced demographics. After PSM, the high ASCVD risk group had higher alcohol or tobacco use, lower omega-3 intake, higher BMI, less physical activity, and spent less time sitting. In 5 ML models, the extreme gradient boosting model showed the highest area under the receiver operating characteristics curve, indicating superior overall discrimination between high and low ASCVD risk groups. However, the light gradient boosting model demonstrated better performance in accuracy, recall, and F1-score. Variable importance analysis using Shapley additive explanations identified smoking and age as the strongest predictors, while BMI, sodium or omega-3 intake, and low-density lipoprotein cholesterol also had significant variables. Sensitivity analysis using multivariable LR analysis also confirmed these findings, showing that smoking, BMI, and low-density lipoprotein cholesterol increased ASCVD risk, whereas omega-3 intake and physical activity were associated with lower risk. Conclusions: Analyzing lifestyle behavioral factors in ASCVD risk with an ML model improves the predictive performance compared to traditional models. Personalized prevention strategies tailored to an individual’s lifestyle can effectively reduce ASCVD risk.Keywords
This publication has 34 references indexed in Scilit:
- Sex-specific differences in cardiovascular risk factors and implications for cardiovascular disease prevention in womenAtherosclerosis, 2023
- Health Disparities Across the Continuum of ASCVD RiskCurrent Cardiology Reports, 2022
- Atherosclerotic cardiovascular disease risk assessment: An American Society for Preventive Cardiology clinical practice statementAmerican Journal of Preventive Cardiology, 2022
- The Importance of Gender to Understand Sex Differences in Cardiovascular DiseaseCanadian Journal of Cardiology, 2021
- Pre-existing and machine learning-based models for cardiovascular risk predictionScientific Reports, 2021
- Machine Learning Adds to Clinical and CAC Assessments in Predicting 10-Year CHD and CVD DeathsJACC: Cardiovascular Imaging, 2021
- Do vigorous-intensity and moderate-intensity physical activities reduce mortality to the same extent? A systematic review and meta-analysisBMJ Open Sport & Exercise Medicine, 2020
- A gender framework for understanding health lifestylesSocial Science & Medicine, 2020
- Optuna2019
- A Simple Disease-Guided Approach to Personalize ACC/AHA-Recommended Statin Allocation in Elderly PeopleJACC, 2016