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
. 2025 May 29;44(1):180.
doi: 10.1186/s41043-025-00941-z.

Application of machine learning algorithms in osteoporosis analysis based on cardiovascular health assessed by life's essential 8: a cross-sectional study

Affiliations

Application of machine learning algorithms in osteoporosis analysis based on cardiovascular health assessed by life's essential 8: a cross-sectional study

Haolin Shi et al. J Health Popul Nutr. .

Abstract

Background: Life's Essential 8 (LE8) for assessing cardiovascular health (CVH) has been demonstrated to be inversely associated with osteoporosis (OP). This study aims to create a machine learning (ML) model to assess the clinical association value of lifestyle and behavioral factors, assessed by LE8, on OP risk in the United States.

Methods: This cross-sectional analysis utilized data from the National Health and Nutrition Examination Survey (NHANES), encompassing participants aged ≧ 50 with comprehensive LE8 and OP information. Initially, the study compared the characteristics of participants with OP against those with normal bone health. Linear and nonlinear associations of LE8 and OP were analyzed by multifactor logistic regression and restricted cubic spline (RCS). Subsequently, LE8 features were integrated into six distinct ML models for OP analysis. Evaluate model performance using relevant metrics and curves. The best-performing model was further analyzed using SHapley Additive exPlanations (SHAP) to rank and clarify the positives and negatives of the contribution of individual LE8 components.

Results: Among 3,902 participants, 364 (9.33%) were identified as having OP. Conventional regression showed that health behaviors (HB) and health factors (HF) in LE8 were negatively and positively correlated with OP, respectively, and that total LE8 was nonlinearly associated with OP. Through comparison of the Area Under the Curve (AUC), Accuracy, F1-Score, Precision, Recall, Specificity, Receiver Operating Characteristic (ROC), Decision Curve Analysis (DCA), and Calibration Curve Analysis (CCA), the optimal performance achieved by the Light Gradient Boosting Machine (LightGBM) model incorporating the 20 features. SHAP analysis revealed that the contributions of LE8 components were ranked as follows: Body Mass Index (BMI) > sleep health > blood glucose > nicotine exposure > blood lipids > blood pressure > Healthy Eating Index-2015 (HEI-2015) > physical activity. Where sleep health, blood lipids, and HEI-2015 were the main negative contributors to OP, BMI was the main positive contributor.

Conclusions: The integration of LE8 with a LightGBM model offers a promising strategy for analysing OP in the American population, underscoring the potential of ML approaches in enhancing clinical assessments.

Keywords: Cardiovascular health; Life’s essential 8; Machine learning; Osteoporosis.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethics approval and consent to participate: The National Center for Health Statistics reviewed and approved the study for human participants (Protocol #2005-06, Protocol #2011-17, Protocol #2018-01). All participants signed informed written consent. Research data were open to the public and allowed for further analysis without additional ethical approval. Consent for publication: Not applicable. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Flow chart of data collection, data preprocessing, and model development
Fig. 2
Fig. 2
Restricted Cubic Spline analysis between LE8 and OP
Fig. 3
Fig. 3
ROC curves of 20 features in the train set, validation set, and test set, validation set derived from 5-fold cross-validation. (a) Decision Tree (b) KNN (c) LightGBM (d) Logistic Regression (e) Random Forest (f) SVM
Fig. 4
Fig. 4
ROC curves of LightGBM with 20 features in bootstrap
Fig. 5
Fig. 5
DCA of 20 features in the test set
Fig. 6
Fig. 6
CCA of the 20 features in the test set
Fig. 7
Fig. 7
SHAP values of LE8 components for OP association as determined by LightGBM of 20 features. (a) SHAP summary plot (b) SHAP waterfall plot (c) SHAP force plot

Similar articles

References

    1. Siris ES, Adler R, Bilezikian J, Bolognese M, Dawson-Hughes B, Favus MJ, et al. The clinical diagnosis of osteoporosis: a position statement from the National bone health alliance working group. Osteoporos Int. 2014;25(5):1439–43. - PMC - PubMed
    1. Xiao PL, Cui AY, Hsu CJ, Peng R, Jiang N, Xu XH, et al. Global, regional prevalence, and risk factors of osteoporosis according to the world health organization diagnostic criteria: a systematic review and meta-analysis. Osteoporos Int. 2022;33(10):2137–53. - PubMed
    1. Zhang YY, Xie N, Sun XD, Nice EC, Liou YC, Huang C, et al. Insights and implications of sexual dimorphism in osteoporosis. Bone Res. 2024;12(1):8. - PMC - PubMed
    1. Ruggiero C, Baroni M, Xenos D, Parretti L, Macchione IG, Bubba V, et al. Dementia, osteoporosis and fragility fractures: intricate epidemiological relationships, plausible biological connections, and twisted clinical practices. Ageing Res Rev. 2023;93:102130. - PubMed
    1. Lane NE. Epidemiology, etiology, and diagnosis of osteoporosis. Am J Obstet Gynecol. 2006;194(2 Suppl):S3–11. - PubMed