Prediction of the Risk of Bone Mineral Density Decrease in Type 2 Diabetes Mellitus Patients Based on Traditional Multivariate Logistic Regression and Machine Learning: A Preliminary Study

Diabetes Metab Syndr Obes. 2023 Sep 19:16:2885-2898. doi: 10.2147/DMSO.S422515. eCollection 2023.

Abstract

Purpose: There remains a lack of a machine learning (ML) model incorporating body composition to assess the risk of bone mineral density (BMD) decreases in type 2 diabetes mellitus (T2DM) patients. We aimed to use ML algorithms and the traditional multivariate logistic regression to establish prediction models for BMD decreases in T2DM patients over 50 years of age, and compare the performance of the two methods.

Patients and methods: This cross-sectional study was conducted among 450 patients with T2DM from 1 August 2016 to 31 December 2022. The participants were divided into a normal BMD group and a decreased BMD group. Traditional multivariate logistic regression and six ML algorithms were selected to construct male and female models. Two nomograms were constructed to evaluate the risk of BMD decreases in the male and female T2DM patients, respectively. The ML models with the highest area under the curve (AUC) were compared with the traditional multivariate logistic regression models in terms of discriminant ability and clinical applicability.

Results: The optimal ML model was the extreme gradient boost (XGBoost) model. The AUCs of the traditional multivariate logistic regression and the XGBoost models were 0.722 and 0.800 in the male testing dataset, respectively, and 0.876 and 0.880 in the female testing dataset, respectively. The decision curve analysis results suggested that using the XGBoost models to predict the risk of BMD decreases obtained more net benefits compared with the traditional models in both sexes.

Conclusion: We preliminarily proved that the XGBoost models outperformed most other ML models in both sexes and achieved higher accuracy than traditional analyses. Due to the limited sample size in the study, it is necessary to validate our findings in larger prospective cohort studies.

Keywords: bone mineral density decrease; machine learning; nomogram; prediction model; type 2 diabetes mellitus.

Grants and funding

This work was supported by Changzhou Science and Technology Program (CJ20190103, CJ20235089).