Identifying compassion fatigue indicators in Chinese psychiatric nurses: a machine learning approach with SHAP interpretation

To develop and internally evaluate interpretable machine-learning models for classifying current questionnaire-threshold-defined compassion-fatigue (CF) risk among Chinese psychiatric nurses, while quantifying feature-selection stability and outcome-definition dependence. Compassion-fatigue-related symptoms are important occupational-health concerns among psychiatric nurses. Cross-sectional classification may support additional assessment, but it cannot establish future risk or causal determinants. This multicentre cross-sectional study recruited 607 psychiatric nurses from four psychiatric hospitals in Northeast China (valid response rate: 94.10%). Participants were allocated to a training set (n = 424) and a held-out test set (n = 183) using a centre-preserving 7:3 split. Categorical variables were appropriately encoded during feature selection and model fitting. Feature stability was assessed using repeated stratified five-fold cross-validation (10 repeats; 50 resamples) with Boruta, CV-LASSO, and grouped backward regression; variables selected by ≥ 2 methods in ≥70% of resamples were retained. Eleven algorithms were tuned and compared using conditional five-fold OOF predictions, with model selection considered exploratory. The held-out test set was evaluated using frozen predictions, with uncertainty estimated from 2,000 bootstrap resamples. The primary questionnaire-threshold-defined outcome was present in 495/607 participants (81.55%). For the primary outcome, five variables met the predefined stability criterion: perceived pressure, age, professional identity, depression, and physical exercise during the past year. SVM was selected through an exploratory model-comparison process. In the held-out test set, SVM achieved an AUC of 0.830 (95% CI 0.741–0.907), balanced accuracy of 0.703 (95% CI 0.605–0.790), sensitivity of 0.706, specificity of 0.700, PPV of 0.923, NPV of 0.318, and Brier score of 0.134 (reference Brier 0.138; Brier skill score 0.028). Calibration assessment showed an intercept of 1.491 and a slope of 0.784. Alternative outcome definitions resulted in different selected models and test AUCs of 0.817 and 0.927, indicating that model performance was dependent on outcome operationalization. Machine-learning models identified stable indicators associated with questionnaire-based threshold-defined compassion fatigue outcome among Chinese psychiatric nurses, including perceived pressure, age, professional identity, depression, and physical exercise. These findings may inform future occupational-health assessment and risk-stratification research. However, further hospital-level and prospective validation is required before practical implementation.

Authors

Institutions

Publication Details

Journal
BMC Nursing
Published
2026-09-19
DOI
https://doi.org/10.1186/s12912-026-05392-3
Primary Topic
Healthcare professionals’ stress and burnout
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Identifying compassion fatigue indicators in Chinese psychiatric nurses: a machine learning approach with SHAP interpretation

Bingzhen Shang, Hui Wu, Ke Rang Zhang, Yi Zhang et al.
BMC Nursing
Healthcare professionals’ stress and burnout
article

Identifying compassion fatigue indicators in Chinese psychiatric nurses: a machine learning approach with SHAP interpretation

Bingzhen Shang, Hui Wu, Ke Rang Zhang, Yi Zhang, Siqi Liu, Yuekun Wu, Xueying Li, Xiaoxi Liu, Qi Li, bingnan DU, Daiyu Wei, Mingyang Yao
article en

Abstract

To develop and internally evaluate interpretable machine-learning models for classifying current questionnaire-threshold-defined compassion-fatigue (CF) risk among Chinese psychiatric nurses, while quantifying feature-selection stability and outcome-definition dependence. Compassion-fatigue-related symptoms are important occupational-health concerns among psychiatric nurses. Cross-sectional classification may support additional assessment, but it cannot establish future risk or causal determinants. This multicentre cross-sectional study recruited 607 psychiatric nurses from four psychiatric hospitals in Northeast China (valid response rate: 94.10%). Participants were allocated to a training set (n = 424) and a held-out test set (n = 183) using a centre-preserving 7:3 split. Categorical variables were appropriately encoded during feature selection and model fitting. Feature stability was assessed using repeated stratified five-fold cross-validation (10 repeats; 50 resamples) with Boruta, CV-LASSO, and grouped backward regression; variables selected by ≥ 2 methods in ≥70% of resamples were retained. Eleven algorithms were tuned and compared using conditional five-fold OOF predictions, with model selection considered exploratory. The held-out test set was evaluated using frozen predictions, with uncertainty estimated from 2,000 bootstrap resamples. The primary questionnaire-threshold-defined outcome was present in 495/607 participants (81.55%). For the primary outcome, five variables met the predefined stability criterion: perceived pressure, age, professional identity, depression, and physical exercise during the past year. SVM was selected through an exploratory model-comparison process. In the held-out test set, SVM achieved an AUC of 0.830 (95% CI 0.741–0.907), balanced accuracy of 0.703 (95% CI 0.605–0.790), sensitivity of 0.706, specificity of 0.700, PPV of 0.923, NPV of 0.318, and Brier score of 0.134 (reference Brier 0.138; Brier skill score 0.028). Calibration assessment showed an intercept of 1.491 and a slope of 0.784. Alternative outcome definitions resulted in different selected models and test AUCs of 0.817 and 0.927, indicating that model performance was dependent on outcome operationalization. Machine-learning models identified stable indicators associated with questionnaire-based threshold-defined compassion fatigue outcome among Chinese psychiatric nurses, including perceived pressure, age, professional identity, depression, and physical exercise. These findings may inform future occupational-health assessment and risk-stratification research. However, further hospital-level and prospective validation is required before practical implementation.

BMC Nursing
Shenyang Medical College (CN), Liaoning University (CN), First Hospital of China Medical University (CN), China Medical University (CN)
Openalex Percentile: Top 6%
Healthcare professionals’ stress and burnout
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.