EUVIMEDTutustu EUVIMEDiin
BeobachtungsstudieOpen access

Predicting Frailty Trajectories Using Interpretable Machine Learning Among Older Adults Following Hip Surgery: Prospective Longitudinal Study

Jingying Huang, Qinqin Fan, Huiqin Shi, Jiaojiao Chen, Hongbo Gao, Kailai Gu, Jin Yang

JMIR Aging · 2026-06-16 · 9 · e90705-e90705

DOI: 10.2196/90705 ↗

At a glance

Beobachtungsstudie in JMIR Aging, published online on 2026-06-16. Written by Jingying Huang and 6 co-authors. Institution: Sir Run Run Shaw Hospital, No. 3, Qingchun East Road, Hangzhou, Zhejiang, China, 86 17757173794. Major MEDLINE topics: Arthroplasty, Replacement, Hip, Frailty, Machine Learning, Postoperative Complications. Cited 1 times so far (Crossref); 50 references. The full text is freely available in PubMed Central.

TiivistelmäSubjectsBibliografiset tiedotCiteRelated studies

Abstract (original language)

Background

Postoperative frailty is highly prevalent among older adults undergoing hip surgery and is closely linked to poor clinical outcomes. Despite growing interest in understanding its progression, the temporal patterns of frailty remain underexplored. Moreover, there is a lack of validated models that can predict frailty trajectories and stratify patients by risk in the early postoperative period.

Objective

This study aimed to identify distinct frailty trajectories within 6 months following hip surgery in older adults and to explore their associated predictors. An interpretable machine-learning model was developed and internally validated for individualized risk prediction and was implemented as a clinically accessible web-based calculator.

Methods

This prospective longitudinal observational study was conducted among older adults undergoing hip surgery at a tertiary hospital in China. Frailty assessments were performed preoperatively and at 1, 3, and 6 months postoperatively. A total of 209 participants who completed the 6-month follow-up were included in the analysis. Frailty was assessed using the Frailty Index, and group-based trajectory modeling was applied to identify distinct frailty progression patterns. Predictive variables were selected using the least absolute shrinkage and selection operator regression. An interpretable Extreme Gradient Boosting (XGBoost) model was developed using a 60:40 training-test data split. Model performance was evaluated in terms of discrimination, calibration, and clinical utility. Interpretability was assessed using SHAP (Shapley Additive Explanations) at both the global and individual levels.

Results

Three distinct frailty trajectories were identified: low-fluctuation frailty (55/209, 26%), high-improvement frailty (81/209, 39%), and high-deterioration frailty (73/209, 35%). Twelve predictors grounded in the Health Ecology Model were selected, spanning individual characteristics, interpersonal networks, and the living environment. The XGBoost model demonstrated excellent discrimination, with a microaverage area under the receiver operating characteristic curve of 0.98 (95% CI 0.96‐0.99) in the training set and 0.93 (95% CI 0.90‐0.96) in the test set. Calibration was acceptable, with a weighted Brier score of 0.0852. Decision curve analysis showed favorable clinical utility across a range of threshold probabilities. A web-based risk calculator was developed to facilitate personalized frailty trajectory prediction.

Conclusions

The XGBoost model demonstrated strong predictive performance and interpretability, enabling the early identification of older patients at risk for adverse frailty trajectories following hip surgery. This tool may support targeted interventions and improve perioperative care in geriatric populations.

Subjects

MeSH terms (MEDLINE)

Arthroplasty, Replacement, HipFrailtyMachine LearningPostoperative ComplicationsAgedAged, 80 and overFemaleHumansMaleBoosting Machine Learning AlgorithmsChinaFrail ElderlyGeriatric AssessmentLongitudinal StudiesPrediction AlgorithmsProspective StudiesRisk Assessment

Author keywords

Extreme Gradient BoostingSHAP analysisShapley Additive ExplanationsXGBoostagingfrailtyfrailty trajectoryhip surgeryolder adultspredictive model

Authors and institutions

  • Sir Run Run Shaw Hospital, No. 3, Qingchun East Road, Hangzhou, Zhejiang, China, 86 17757173794.
  • Shanghai Maritime University, Shanghai, China.
  • Zhejiang Chinese Medical University, Hangzhou, China.

Cite

APA

Huang, J., Fan, Q., Shi, H., Chen, J., Gao, H., Gu, K., & Yang, J. (2026). Predicting Frailty Trajectories Using Interpretable Machine Learning Among Older Adults Following Hip Surgery: Prospective Longitudinal Study. JMIR Aging, 9, e90705-e90705. https://doi.org/10.2196/90705

Vancouver

Huang J, Fan Q, Shi H, Chen J, Gao H, Gu K, et al. Predicting Frailty Trajectories Using Interpretable Machine Learning Among Older Adults Following Hip Surgery: Prospective Longitudinal Study. JMIR Aging. 2026;9:e90705-e90705. doi:10.2196/90705

BibTeX
@article{Huang2026,
  author = {Huang, Jingying and Fan, Qinqin and Shi, Huiqin and Chen, Jiaojiao and Gao, Hongbo and Gu, Kailai and Yang, Jin},
  title = {Predicting Frailty Trajectories Using Interpretable Machine Learning Among Older Adults Following Hip Surgery: Prospective Longitudinal Study},
  journal = {JMIR Aging},
  year = {2026},
  volume = {9},
  pages = {e90705--e90705},
  doi = {10.2196/90705}
}
Start for free →