Explainable Machine Learning Models for Classifying Preoperative Anxiety in Patients With Femoral Neck Fractures: A Retrospective Cohort Study.
Xue Zhang, Shuzhi Zheng, Zanhua Zhang, Peiyi Yang, Qiao Wei, Mimi Jin, Fang He
Department of Post-Anesthesia Care Unit, The Second Affiliated Hospital of Wenzhou Medical University, Wenzhou, Zhejiang, China. · Department of Operating Room, The Second Affiliated Hospital of Wenzhou Medical University, Wenzhou, Zhejiang, China.
Key points
From the paper's conclusion- The models identified a stable psychosocial feature profile for concurrent classification but require external and prospective validation before clinical use.
Abstract
AIM: To develop and internally validate explainable machine learning models for concurrent classification of preoperative anxiety in patients with femoral neck fractures. DESIGN: Single-centre retrospective observational cohort study. 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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Development and validation of a machine learning-based prediction model for emergence agitation in geriatric patients undergoing orthopedic surgery: a prospective cohort study.Frontiers in medicine · 2026
- To construct a risk prediction model for poor discharge readiness in patients undergoing elective unilateral lower extremity joint replacement based on clinical and psychosocial factors.Frontiers in medicine · 2026
- Development and external validation of an interpretable machine learning model for predicting 4-year incident frailty in middle-aged and older adults with arthritis: A retrospective longitudinal study based on the CHARLS and KLoSA cohorts.The Journal of international medical research · 2026
- A multi-database machine learning approach to predict depression and frailty in elderly populations with chronic conditions.BMC geriatrics · 2026
- Development of machine learning models with explainable AI for frailty risk prediction and their web-based application in community public healthFrontiers in Public Health · 2025
- Development and Validation of a Nomogram for Predicting Preoperative Venous Thromboembolism in Patients With Lower Extremity Fractures: A Retrospective Cohort Study.Clinical and applied thrombosis/hemostasis : official journal of the International Academy of Clinical and Applied Thrombosis/Hemostasis · 2026