{"title":"Explainable Machine Learning Models for Classifying Preoperative Anxiety in Patients With Femoral Neck Fractures: A Retrospective Cohort Study.","authors":"Xue Zhang, Shuzhi Zheng, Zanhua Zhang, Peiyi Yang, Qiao Wei, Mimi Jin, Fang He","doi":"10.1002/nop2.70919","DOIUrl":null,"url":null,"abstract":"<p><strong>Aim: </strong>To develop and internally validate explainable machine learning models for concurrent classification of preoperative anxiety in patients with femoral neck fractures.</p><p><strong>Design: </strong>Single-centre retrospective observational cohort study.</p><p><strong>Methods: </strong>Clinical, perioperative and psychosocial data from 271 surgical admissions (270 patients) during 2024 were analysed. Preoperative anxiety was classified during the preoperative bedside assessment phase using a prespecified score greater than 8 on the anxiety subscale of the Hospital Anxiety and Depression Scale. Three tree-based ensemble models were compared using fivefold, patient-grouped nested cross-validation with fold-specific preprocessing, feature selection, resampling, tuning and separate probability calibration.</p><p><strong>Results: </strong>Preoperative anxiety according to this prespecified definition was identified in 79 admissions. The anxiety group was older, had lower psychological resilience and perceived social support, and had greater surgical fear and frailty. The three algorithms showed similar internal discrimination, and paired comparisons did not support superiority of one model. Psychological resilience, perceived social support and surgical fear were selected in every validation fold for all models. Frailty index was selected in three of five folds for each model.</p><p><strong>Conclusion: </strong>The models identified a stable psychosocial feature profile for concurrent classification but require external and prospective validation before clinical use.</p><p><strong>Implications for nursing practice: </strong>These findings may inform future research on structured nursing assessment of preoperative anxiety. The models should not replace validated screening or clinical judgement and require prospective evaluation before routine use.</p><p><strong>Impact: </strong>Psychological resilience, perceived social support and surgical fear were the most stable selected features.</p><p><strong>Reporting method: </strong>The Strengthening the Reporting of Observational Studies in Epidemiology and TRIPOD+AI reporting guidelines were followed.</p><p><strong>No patient or public contribution: </strong>None, because this study retrospectively analysed existing de-identified records.</p>","PeriodicalId":48570,"journal":{"name":"Nursing Open","volume":"13 10","pages":"e70919"},"PeriodicalIF":3.1000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13675517/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nursing Open","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1002/nop2.70919","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"NURSING","Score":null,"Total":0}
引用次数: 0
Abstract
Aim: To develop and internally validate explainable machine learning models for concurrent classification of preoperative anxiety in patients with femoral neck fractures.
Methods: Clinical, perioperative and psychosocial data from 271 surgical admissions (270 patients) during 2024 were analysed. Preoperative anxiety was classified during the preoperative bedside assessment phase using a prespecified score greater than 8 on the anxiety subscale of the Hospital Anxiety and Depression Scale. Three tree-based ensemble models were compared using fivefold, patient-grouped nested cross-validation with fold-specific preprocessing, feature selection, resampling, tuning and separate probability calibration.
Results: Preoperative anxiety according to this prespecified definition was identified in 79 admissions. The anxiety group was older, had lower psychological resilience and perceived social support, and had greater surgical fear and frailty. The three algorithms showed similar internal discrimination, and paired comparisons did not support superiority of one model. Psychological resilience, perceived social support and surgical fear were selected in every validation fold for all models. Frailty index was selected in three of five folds for each model.
Conclusion: The models identified a stable psychosocial feature profile for concurrent classification but require external and prospective validation before clinical use.
Implications for nursing practice: These findings may inform future research on structured nursing assessment of preoperative anxiety. The models should not replace validated screening or clinical judgement and require prospective evaluation before routine use.
Impact: Psychological resilience, perceived social support and surgical fear were the most stable selected features.
Reporting method: The Strengthening the Reporting of Observational Studies in Epidemiology and TRIPOD+AI reporting guidelines were followed.
No patient or public contribution: None, because this study retrospectively analysed existing de-identified records.
期刊介绍:
Nursing Open is a peer reviewed open access journal that welcomes articles on all aspects of nursing and midwifery practice, research, education and policy. We aim to publish articles that contribute to the art and science of nursing and which have a positive impact on health either locally, nationally, regionally or globally