An explainable web application based on machine learning for predicting fragility fracture in people living with HIV: data from Beijing Ditan Hospital, China
An explainable web application based on machine learning for predicting fragility fracture in people living with HIV: data from Beijing Ditan Hospital, China
Blog Article
PurposeThis study aimed to develop and validate a novel web-based calculator using machine learning algorithms to predict fragility fracture risk in People living with HIV (PLWH), who face increased morbidity and mortality from such fractures.MethodWe retrospectively analyzed clinical data from Beijing Ditan Hospital orthopedic department between 2015 and September 2023.The dataset included 1045 patients (2015-2021) for training and 450 patients (2021-September 2023) for hindigyanvishv.com external testing.Feature selection was performed using multivariable logistic regression, LASSO, Boruta, and RFE-RF.
Six machine learning models (logistic regression, decision trees, SVM, KNN, random forest, and XGBoost) were trained with 10-fold cross-validation and hyperparameter tuning.Model performance was assessed with ROC curves, Decision Curve Analysis, and other metrics.The optimal model was integrated into an online risk assessment calculator.ResultsThe XGBoost model showed the highest predictive performance, with key features including age, smoking, fall history, TDF use, HIV viral load, vitamin D, hemoglobin, albumin, CD4 count, and lumbar spine BMD.
It achieved an ROC-AUC of 0.984 (95% CI: 0.977-0.99) in the training set and 0.
979 (95% CI: 0.965-0.992) in the external test set.Decision Curve Analysis indicated clinical utility across various threshold probabilities, with calibration curves showing high concordance between predicted and observed risks.
SHAP values explained individual risk profiles.The XGBoostpowered web calculator read more (https://sydtliubo.shinyapps.io/cls2shiny/) enables clinicians and patients to assess fragility fracture risk in PLWH.
ConclusionWe developed a web-based risk assessment tool using the XGBoost algorithm for predicting fragility fractures in HIV-positive patients.This tool, with its high accuracy and interpretability, aids in fracture risk stratification and management, potentially reducing the burden of fragility fractures in the HIV population.