An evaluation based on explainable machine learning: analysis of risk factors for enteral nutrition-related diarrhea in patients with severe stroke.
Caiyue Xu, Wei Hu, Yuhong Wang, Di Xu, Fengzhi Chai, Yunfan Ji, Xia Li
School of Nursing, Jinzhou Medical University, Jinzhou, Liaoning, China. · Department of Nursing, People's Hospital of Shangrao, Shangrao, Jiangxi, China.
Key points
From the paper's conclusion- Based on interpretable machine learning methods, this study identified 10 factors-including duration of mechanical ventilation, number of days on enteral nutrition, and C-reactive protein levels-that were most strongly associated with ENAD in the model output in patients with severe stroke. The results suggest that, in addition to focusing on the patients' clinical condition and nutritional interventions themselves, clinicians should also pay attention to the regulation of ward temperature and the proper management of relevant medications. The clinical predictive value of these associations requires further validation through prospective, time-dependent studies.
Abstract
OBJECTIVE: This study systematically examines the clinical factors associated with enteral nutrition-related diarrhea (ENAD) in patients with severe stroke and uses interpretable machine learning methods to assess the strength of these associations. METHODS: This retrospective study included 766 patients with severe stroke from two hospitals between January 2021 and December 2025; data were sourced from electronic medical records and nursing notes. The study compared eight machine learning algorithms: logistic regression (Logistic), support vector machines (SVM), random forests (RF), extreme gradient boosting (XGBoost), lightweight gradient boosting (LightGBM), classification gradient boosting (CatBoost), k-nearest neighbors (KNN), and decision trees (DT); model performance was evaluated using 10-fold cross-validation (CV); The optimal model was selected, with SHAP (Shapley Additive exPlanations) analysis used to provide feature importance and the Delong test for feature selection; the final model was evaluated and validated using metrics from calibration curves, decision curve analysis curves, and the model confusion matrix; SHAP analysis was used to interpret the final model. RESULTS: A total of 292 patients (38.1%) in the study cohort developed diarrhea. The random forest model was identified as the optimal model and served as the feature selection model. Following the Delong test, 10 variables most closely associated with ENAD were ultimately included: duration of mechanical ventilation, number of days on enteral nutrition (EN) and formula type, C-reactive protein, white blood cell count, hemoglobin, blood urea nitrogen, room temperature, prokinetic agents, and oral potassium supplements. The model performed as follows in terms of retrospective discriminatory power: The AUC was 0.873 (95% CI: 0.826-0.920), with an accuracy of 0.836 (0.790-0.882) and a precision of 0.787 (0.697-0.875). A recall of 0.720 (0.622-0.819), an F1 score of 0.752 (0.672-0.825), and a negative predictive value of 0.859 (0.805-0.912). SHAP analysis revealed a non-linear relationship between the aforementioned features and the risk of ENAD. It should be noted that because some variables (such as duration of mechanical ventilation and number of days on enteral nutrition) reflect cumulative exposure over the entire ICU stay, reported metrics such as AUC may be overestimated and should not be directly interpreted as indicative of predictive performance. The SHAP analysis revealed patterns of association between these characteristics and the risk of ENAD. CONCLUSION: Based on interpretable machine learning methods, this study identified 10 factors-including duration of mechanical ventilation, number of days on enteral nutrition, and C-reactive protein levels-that were most strongly associated with ENAD in the model output in patients with severe stroke. The results suggest that, in addition to focusing on the patients' clinical condition and nutritional interventions themselves, clinicians should also pay attention to the regulation of ward temperature and the proper management of relevant medications. The clinical predictive value of these associations requires further validation through prospective, time-dependent studies.
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 an interpretable machine learning model for predicting enteral nutrition-associated diarrhea in ICU patients: a multicenter study.Frontiers in nutrition · 2026
- Clinical Phenotypes, Machine-Learning Risk Stratification and Treatment Outcomes of Constipation in Stroke Patients Receiving Enteral Nutrition: A Retrospective Study.Nursing in critical care · 2026
- Development and External Validation of an Explainable Machine Learning Model to Identify Positive Dysphagia Screening Results in People with Dementia: A Multicenter Cross-Sectional Study.Clinical interventions in aging · 2026
- Interpretable machine learning model for predicting major adverse kidney events within 30 days in critically ill patients with acute pancreatitis: development and validation in multicenter cohorts.Frontiers in medicine · 2026
- Development and validation of an early prediction model for intestinal failure-associated liver disease after enterostomy for necrotizing enterocolitis.Pediatric research · 2026
- LASSO-based nomogram and machine learning models for predicting 30-day nasogastric tube dependence after acute ischemic stroke.Frontiers in neurology · 2026