Abstract
The screening and diagnosis of osteoporosis in patients with type 2 diabetes mellitus (T2DM) based on bone mineral density remains challenging because of the limited availability and accessibility of dual-energy X-ray absorptiometry. We aimed to develop and validate models to predict the risk of osteoporosis in postmenopausal women with T2DM based on machine learning (ML) algorithms. This retrospective study included 303 postmenopausal women with T2DM. To develop prediction models for osteoporosis, we applied nine ML algorithms combined with demographic, clinical, and laboratory data. The least absolute shrinkage and selection operator were used to perform feature selection. We used the bootstrap resampling technique for model training and validation. To test the performance of the models, we calculated indices including the area under the receiver operating characteristic curve (AUROC), accuracy, sensitivity, specificity, positive predictive value, negative predictive value, F1 score, calibration curve, and decision curve analysis. Furthermore, we conducted fivefold cross-validation for parameter optimization and model validation. Feature importance was assessed using the SHapley additive explanation (SHAP). We identified 10 independent predictors as the most valuable features. An AUROC of 0.616-1.000 was observed for nine ML algorithms. The extreme gradient boosting (XGBoost) model exhibited the best performance, outperforming conventional risk assessment tools and registering 0.993 in the training set, 0.798 in the validation set, and 0.786 in the test set for fivefold cross-validation. Using SHAP, we found that the explanatory variables contributed to the model and their relationship with osteoporosis occurrence. Furthermore, we developed a user-friendly tool for calculating the risk of osteoporosis. With the integration of demographic and clinical risk factors, ML algorithms can accurately predict osteoporosis. The XGBoost model showed ideal performance. With the incorporation of these models in the clinic, patients may benefit from early osteoporosis diagnosis and treatment.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.