AUTHOR=Shao Zichen , Wu Jianfeng , Deng Qinqin , Cheng Ling , Huang Xin , Sun Weikang , Liang Weidong , Li Huanan TITLE=Development of a machine learning-based predictive model for osteoporosis risk and its application in clinical decision support JOURNAL=Frontiers in Medicine VOLUME=Volume 12 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/medicine/articles/10.3389/fmed.2025.1680731 DOI=10.3389/fmed.2025.1680731 ISSN=2296-858X ABSTRACT=ObjectiveThis study was aimed at developing an interpretable machine learning model for predicting osteoporosis (OP) risk using real-world clinical data, and at establishing a web-based visualization tool for assisting clinical decision-making.MethodsA total of 5,328 individuals from the Affiliated Hospital of Jiangxi University of Chinese Medicine (2015–2024) were included. Multidimensional data, including demographic characteristics, anthropometric measures, lumbar spine bone mineral density (L1–L4), and more than 90 blood biochemical and inflammatory markers, were collected. Key variables were identified using univariate analysis followed by least absolute shrinkage and selection operator (LASSO) regression. Five machine learning algorithms—Decision Tree, Random Forest, XGBoost, CatBoost, and Multi-Layer Perceptron (MLP)—were developed and compared. SHapley Additive exPlanations (SHAP) analysis was conducted to enhance model interpretability, and a web-based tool was subsequently developed based on the best-performing model.ResultsFive key predictive variables—age, sex, body mass index (BMI), uric acid (UA), and alkaline phosphatase (ALP)—were ultimately selected. Among the five models evaluated, the Random Forest model achieved the highest AUC (0.759) in the test set, demonstrating moderate discriminative performance and good model stability. SHAP analysis revealed that BMI contributed most to the model’s predictions, while increased age, female sex, elevated ALP, and reduced UA were associated with a higher risk of osteoporosis. Based on this model, a web-based tool was developed to enable individualized risk prediction and feature-level visualization, providing a quantitative reference for clinical risk assessment.ConclusionThe osteoporosis prediction model developed in this study achieved quantitative risk estimation and interpretable outputs using a limited set of features, providing a feasible technical approach for early screening of osteoporosis. Future work should focus on external validation and recalibration in multicenter populations to further evaluate and optimize the model’s predictive performance and clinical applicability.