Development and validation of a machine learning model with a web-based calculator for predicting anxiety risk among nursing interns.
Xia Wang, Ru Gao, Hongyan Chen, Shan Liu, Xiaoting Zeng, Shujie Meng, Junyi Hou
School of Basic Medical Sciences & School of Nursing, Chengdu University, Chengdu, Sichuan, China. · Nursing Department, BAYI Orthopedic Hospital, China Rong Tong Medical Healthcare Group Co. Ltd., Chengdu, Sichuan, China. 18328690226@163.com.
Key points
From the paper's conclusion- This study used explainable ML methods to predict anxiety among Chinese nursing interns and to identify five significant risk factors. The GBM model exhibited the best performance. Coupled with its explainability, this tool holds potential clinical utility for designing personalized, targeted psychological interventions for high-risk individuals.
Abstract
BACKGROUND: The clinical internship, a period of profound transition for nursing students, is fraught with stressors that precipitate anxiety, yet current risk assessment tools often lack explainability, limiting their ability to support personalized and proactive psychological interventions. OBJECTIVE: To develop and validate an explainable machine learning model (ML) that predicts anxiety risk in nursing interns and to create a web-based calculator for early detection to facilitate adaptive clinical interventions. METHODS: A total of 1,233 nursing interns(Class of 2025) were enrolled between January and April 2025 for model development. Anxiety was defined using the Generalized Anxiety Disorder Scale (GAD-7) as the standard assessment tool. Six ML methods, including logistic regression (LR), support vector machine (SVM), gradient boosting machine (GBM), neural networks (NN), random forest (RF), and XGBoost, were implemented to predict the risk of anxiety. External validation was conducted using data from 383 nursing interns(Class of 2026) recruited between July and August 2025 to evaluate the model's generalizability. The optimal model was selected on the basis of the AUC. This study also applied the SHAP approach to explain the model's outcomes. Additionally, the best-performing model was used to develop a web-based anxiety risk calculator. RESULTS: Sleep disorder, poor academic performance, high stress level, low social support, and a history of mental illness were identified as important predictors. The GBM model exhibited the best performance, achieving an AUC of 0.894 in internal validation and 0.895 in external validation. CONCLUSIONS: This study used explainable ML methods to predict anxiety among Chinese nursing interns and to identify five significant risk factors. The GBM model exhibited the best performance. Coupled with its explainability, this tool holds potential clinical utility for designing personalized, targeted psychological interventions for high-risk individuals. CLINICAL TRIAL NUMBER: Not applicable.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Identification and validation of an explainable model of methamphetamine use disorders with anxiety symptoms: a multicenter cross-sectional study.Psychiatry research · 2026
- Psychometric-aware Fusion of Tabular and Item-sequence Representations Using a Stacking Ensemble Meta-learner for Anxiety Severity Classification in Final-year StudentsInternational journal of intelligent engineering and systems · 2026
- Development and External Validation of a Machine Learning Model for Risk Stratification of Presenteeism in Clinical Nurses: A Multicenter Cross-Sectional Study.Journal of nursing management · 2026
- Externally Validated Explainable Machine Learning for Identifying High Death Anxiety in Chronic Heart Failure: Multicentre Cross-Sectional Study.Journal of advanced nursing · 2026
- Latent profile analysis of artificial intelligence anxiety among undergraduate nursing students: a cross-sectional study.Frontiers in public health · 2026
- Machine learning based multimodel prediction of poor wellbeing, generalized anxiety disorder, and insomnia among adults in Indian urban informal settlements: toward explainable digital mental health screening.Frontiers in digital health · 2026