Development of an interpretable machine learning model for predicting intestinal necrosis in older patients with incarcerated hernia: A retrospective cohort study.
Аннотация
ObjectiveTo develop a machine learning model for predicting intestinal necrosis in older patients with incarcerated hernia and interpret the model using SHapley additive exPlanations (SHAP) to assist clinicians in early identification of intestinal necrosis and formulating more appropriate treatment strategies.MethodsThis retrospective cohort study analyzed 324 older patients with incarcerated hernia who were admitted to the Department of Emergency Surgery and Department of Hernia and Abdominal Wall Surgery at the Affiliated Lu'an Hospital of Anhui Medical University between March 2015 and February 2024. Clinical data were collected, and patients were divided into training and testing sets in a 7:3 ratio using stratified random sampling. The least absolute shrinkage and selection operator was applied for feature selection, and nine machine learning models were constructed. The optimal model was further analyzed using SHAP for interpretability.ResultsAmong the 324 patients, 81 developed intestinal necrosis, while 243 did not. Least absolute shrinkage and selection operator regression identified nine key features. Nine machine learning algorithms were evaluated: (a) K-nearest neighbors; (b) support vector machine; (c) extreme gradient boosting; (d) approximate nearest neighbor; (e) decision tree; (f) light gradient boosting machine; (g) random forest; (h) extremely randomized trees; and (i) gradient boosting machine. The extremely randomized trees model demonstrated the best performance on the test set, with a sensitivity of 0.755, specificity of 0.932, F1-score of 0.714, accuracy of 0.796, and receiver operating characteristic area under the curve of 0.785. SHAP analysis revealed that the top nine contributing variables were procalcitonin, absolute neutrophil count, D-dimer, neutrophil-to-lymphocyte ratio, hernia disease time, duration of incarceration, femoral hernia incarceration, lymphocyte count, and C-reactive protein.ConclusionThis study developed an efficient and interpretable extremely randomized trees model for predicting intestinal necrosis risk in older incarcerated hernia patients, which can aid clinicians in identifying high-risk patients and optimizing clinical decision-making.
Другие публикации по теме
Перевод полного текста: Перевод в очереди
Полный текст источника
https://creativecommons.org/licenses/by-nc/4.0/ This article is distributed under the terms of the Creative Commons Attribution-NonCommercial 4.0 License ( https://creativecommons.org/licenses/by-nc/4.0/ ) which permits non-commercial use, reproduction and distribution of the work without further permission provided the original work is attributed as specified on the SAGE and Open Access page ( https://us.sagepub.com/en-us/nam/open-access-at-sage ).
Текст сохранён. Часть иллюстраций пока доступна только в первоисточнике; загрузка будет проверена повторно.
Introduction
Incarcerated hernia refers to a pathological condition where tissues or organs within the abdominal cavity protrude through a defect or weak point in the abdominal wall and become trapped, unable to be reduced back into the abdominal cavity. If not promptly addressed, it can lead to severe complications such as intestinal necrosis. Statistical data indicate that approximately 15%–21% of cases progress to intestinal necrosis, necessitating bowel resection. The incidence may be higher in older patients due to their reduced sensitivity to pain. 1 In current clinical practice, emergency management of incarcerated hernia involves manual reduction followed by elective surgery in the absence of obvious intestinal strangulation or necrosis. However, if intestinal necrosis is suspected, emergency surgery is required, with an average mortality rate as high as 4%. 2 , 3 Preoperative assessment of intestinal viability is crucial for making treatment decisions. Therefore, developing a predictive model to determine the presence of intestinal necrosis in older patients with incarcerated hernia holds clinical significance.
With the application of big data and artificial intelligence technologies in the medical field, machine learning (ML) has demonstrated excellent performance in predicting clinical outcomes. It can analyze vast amounts of patient data and identify early disease characteristics, thereby enabling early diagnosis. 4 This, in turn, assists clinicians in making more informed treatment decisions and improving patient prognosis. However, ML models often exhibit a “black box” nature, meaning that the internal mechanisms of the model and the basis for its predictions are difficult to interpret. This is unacceptable in the medical field as healthcare professionals need to understand how the model makes predictions and recommendations based on patient characteristics and which features significantly influence the prediction outcomes.
SHapley additive exPlanations (SHAP) values assign a contribution score to each feature, indicating the impact of that feature on the prediction outcome. It provides an explanation for each individual prediction sample, detailing the magnitude and direction of each feature's contribution to the prediction result for that specific sample. This enables physicians to better understand the decision-making process of the model and helps clarify the influence of each input feature on the prediction outcome. 5
Based on this, in the present study, we constructed a ML model to predict the presence or absence of intestinal necrosis in older patients with incarcerated hernia using blood inflammatory markers and relevant clinical characteristic parameters at admission. Additionally, SHAP is employed to perform interpretability analysis on the model. This approach assists clinicians in early determination of intestinal necrosis in older patients with incarcerated hernia, thereby enabling the formulation of more appropriate treatment decisions and improving patient prognosis.
Materials and methods
Data source
This retrospective cohort study included 324 patients with incarcerated hernia who were admitted to the Department of Emergency Surgery and the Hernia & Abdominal Wall Surgery Unit at Lu’an Hospital Affiliated to Anhui Medical University between March 2015 and February 2024. There were 60 cases of femoral hernia and 264 cases of inguinal hernia; the age of the patients ranged from 60 to 83 years.
The following inclusion criteria were applied: (a) patients with incarcerated hernia requiring emergency surgery; (c) presence of hernia content in the intestinal tissue; (3) patients aged ≥60 years; and (4) relatively complete clinical and laboratory medical records. Exclusion criteria were as follows: (a) studies that only accepted patients who chose to go undergo manual reduction or opted for scheduled surgery; (b) hernia contents composed of non-intestinal tissues such as the omentum; (c) contraindications to combined surgery; and (d) colorectal tumor or Crohn's disease. Ethical approval for this study (KY-2025-065-01) was granted by the Institutional Ethics Committee of Lu’an Hospital Affiliated to Anhui Medical University.
Diagnosis criteria for intestinal necrosis. 6 , 7 The intestines are purple-black or greenish-blue in color, with no luster or elasticity, there is no vascular pulsation in the mesentery, no peristalsis in the intestines, and covering the intestines with warm moist gauze for a period of time or injecting procaine does not improve the condition of the intestines. Postoperative pathology suggests intestinal necrosis.
Methods
Data collection and missing data handling
Data were collected for the following parameters: (a) demographics, including sex (male/female) and age; (b) medical history of including chronic obstructive pulmonary disease (COPD), hypertension, diabetes, heart disease (HD), history of abdominal surgery (HAS), incarcerated hernia history (IHI), and renal failure); (3) clinical presentation of femoral hernia incarceration (FHI), indirect inguinal hernia (IH), intestinal obstruction (IO), duration of incarceration (<24/≥24 h), and hernia disease time (HDT); (d) medication use, including history of anticoagulant use (HAC); and (e) laboratory measures, including C-reactive protein (CRP), D-dimer, procalcitonin (PCT), white blood cell count (WBC), neutrophil count (NE), neutrophil-to-lymphocyte ratio (NLR), red cell distribution width (RDW), lymphocyte count (LYC), body mass index (BMI), red blood cell count (RBC), alanine aminotransferase (ALT), aspartate aminotransferase (AST), blood urea nitrogen (BUN), creatinine (Cr), triglycerides (TGs), hemoglobin (Hb), albumin (ALB), and absolute neutrophil count (NEUT).
Missing data handling
Missing data (all variables had missing rates <10%) were addressed using multiple imputation. This study was conducted in accordance with the Declaration of Helsinki of 1975, as revised in 2024. All patient details have been de-identified in this study to protect participant confidentiality. This study was reported in accordance with the Transparent Reporting of a multivariable prediction model for Individual Prognosis Or Diagnosis (TRIPOD) guidelines. 8
Model construction and evaluation
The patients were divided into training and test sets in a 7:3 ratio using stratified random sampling. The importance of all variables was ranked using the light gradient boosting machine (LightGBM) algorithm. Least Absolute Shrinkage and Selection Operator (LASSO) was used to select the features of the variables. Nine of the 33 features were selected for ML model construction, respectively: PCT, NEUT, D-dimer, NLR, HDT, duration of incarceration, FHI, LYC, and CRP. Predictive models were subsequently developed using nine ML models, including K-nearest neighbor (KNN), support vector machine (SVM), extreme gradient boosting (XGBoost), approximate nearest neighbor (ANN), decision tree (DT), LightGBM, random forest (RF), extremely randomized trees (ET), gradient boosting machine (GBM).
ML explainable tool
The prediction model was interpreted using SHAP, a comprehensive method for accurately calculating the contribution to and impact of each feature on the final predictions. 9 The SHAP values indicate the extent to which each predictor positively or negatively influences the target variable. Additionally, a specific set of SHAP values can be used to interpret each observation in the dataset. 10 , 11
Statistical analyses
Normally distributed continuous data were expressed as mean ± SD ( x ¯ ± SD), and intergroup comparisons were performed using independent samples t-tests. Non-normally distributed continuous data were presented as median (interquartile range) values, ( M ( P 25 , P 75 )), and the Mann–Whitney U test was used for intergroup comparisons. Categorical data were described as frequencies (percentages), and the chi-square test was performed for comparisons. The model was evaluated using the receiver operating characteristic (ROC) curve, area under the curve (AUC), sensitivity, specificity, confusion matrix, positive predictive value (PPV), negative predictive value (NPV), and F1-score. SHAP plots, generated using Python, were employed for interpretability analysis of the ML model. A p -value <0.05 was considered statistically significant.
Results
Baseline comparison
According to the inclusion and exclusion criteria, in total, 324 patients were enrolled in this study; 81 among them developed intestinal necrosis, while 243 did not. The patient selection flowchart is presented in Figure 1 . Surgical approaches included laparoscopic exploration (137 patients), laparoscopic exploration converted to laparotomy (112 patients), and direct laparotomy (75 patients). Baseline characteristics are presented in Table 1 . Significant differences ( p < 0.05) were observed between patients with and without intestinal necrosis in terms of FHI; IH; IO; IHI; duration of incarceration; hypertension; HAC; COPD; CRP, D-dimer, PCT, BUN, Cr, Hb, and ALB levels; WBC count; NE; HDT; NLR; RDW; LYC; BMI; and NEUT.
Иллюстрация — в первоисточнике ↗
Table 1.
All predictor variables for patients with intestinal necrosis (N = 324).
FHI: femoral hernia incarceration; IH: indirect inguinal hernia; IO; intestinal obstruction; HAS: history of abdominal surgery; IHI: indirect inguinal hernia; HD: heart disease; HAC: history of anticoagulant use; COPD: chronic obstructive pulmonary disease; CRP: C-reactive protein; PCT: procalcitonin; WBC: white blood cell; NE: neutrophil count; HDT: hernia disease time; NLR: neutrophil-to-lymphocyte ratio; RDW: red cell distribution width; LYC: lymphocyte count; BMI: body mass index; RBC: red blood cell; ALT: alanine aminotransferase; AST: aspartate aminotransferase; BUN: blood urea nitrogen; Cr: creatinine; TG: triglyceride; Hb: hemoglobin; ALB: albumin; NEUT: absolute neutrophil count.
| Variables | Total ( n = 324) | Without intestinal necrosis ( n = 243) | With intestinal necrosis ( n = 81) | p -value |
| Sex, n (%) | 0.057 | |||
| Male | 195 (60) | 154 (63) | 41 (51) | |
| Female | 129 (40) | 89 (37) | 40 (49) | |
| FHI, n (%) | <0.001 | |||
| no | 264 (81) | 216 (89) | 48 (59) | |
| yes | 60 (19) | 27 (11) | 33 (41) | |
| IH, n (%) | <0.001 | |||
| no | 137 (42) | 85 (35) | 52 (64) | |
| yes | 187 (58) | 158 (65) | 29 (36) | |
| IO, n (%) | <0.001 | |||
| no | 123 (38) | 111 (46) | 12 (15) | |
| yes | 201 (62) | 132 (54) | 69 (85) | |
| HAS, n (%) | 0.206 | |||
| no | 228 (70) | 166 (68) | 62 (77) | |
| yes | 96 (30) | 77 (32) | 19 (23) | |
| IHI, n (%) | 0.002 | |||
| no | 251 (77) | 199 (82) | 52 (64) | |
| yes | 73 (23) | 44 (18) | 29 (36) | |
| Duration of incarceration, n (%) | <0.001 | |||
| <24 h | 214 (66) | 194 (80) | 20 (25) | |
| ≥24 h | 110 (34) | 49 (20) | 61 (75) | |
| Hypertension, n (%) | 0.029 | |||
| no | 172 (53) | 138 (57) | 34 (42) | |
| yes | 152 (47) | 105 (43) | 47 (58) | |
| HD, n(%) | 0.140 | |||
| no | 242 (75) | 187 (77) | 55 (68) | |
| yes | 82 (25) | 56 (23) | 26 (32) | |
| HAC, n(%) | <0.001 | |||
| no | 245 (76) | 198 (81) | 47 (58) | |
| yes | 79 (24) | 45 (19) | 34 (42) | |
| COPD, n (%) | 0.011 | |||
| no | 284 (88) | 220 (91) | 64 (79) | |
| yes | 40 (12) | 23 (9) | 17 (21) | |
| Diabetes, n (%) | 0.548 | |||
| no | 299 (92) | 226 (93) | 73 (90) | |
| yes | 25 (8) | 17 (7) | 8 (10) | |
| Renal failure, n (%) | 0.790 | |||
| no | 304 (94) | 229 (94) | 75 (93) | |
| yes | 20 (6) | 14 (6) | 6 (7) | |
| Age, median (Q1, Q3) | 70 (64, 75) | 69 (64, 75) | 70 (63, 76) | 0.754 |
| CRP level, median (Q1, Q3) | 41.78 (28.57, 69.67) | 37.58 (26.58, 58.63) | 68.47 (42.18, 83.49) | <0.001 |
| D-dimer level, median (Q1, Q3) | 1.83 (1.52, 2.34) | 1.75 (1.46, 1.94) | 2.37 (2.15, 2.63) | <0.001 |
| PCT level, median (Q1, Q3) | 0.89 (0.65, 1.43) | 0.82 (0.58, 1.06) | 1.54 (0.99, 1.62) | <0.001 |
| WBC count, median (Q1, Q3) | 9.28 (6.81, 12.59) | 8.65 (6.46, 11.55) | 12.64 (9.27, 14.82) | <0.001 |
| NE, median (Q1, Q3) | 82.47 (76.58, 92.02) | 80.25 (75.48, 89.55) | 89.92 (83.59, 95.63) | <0.001 |
| HDT, median (Q1, Q3) | 7 (3, 8) | 7 (5, 9) | 3 (2, 5) | <0.001 |
| NLR, median (Q1, Q3) | 5.37 (4.08, 7.49) | 4.92 (3.75, 6.03) | 7.52 (6.01, 8.52) | <0.001 |
| RDW, median (Q1, Q3) | 12.54 (11.46, 13.54) | 12.28 (11.19, 13.25) | 13.39 (12.54, 13.94) | <0.001 |
| LYC, median (Q1, Q3) | 1.06 (0.88, 1.27) | 1.09 (0.91, 1.31) | 0.93 (0.81, 1.13) | <0.001 |
| BMI, mean ± SD | 22.66 ± 1.63 | 22.51 ± 1.53 | 23.09 ± 1.85 | 0.013 |
| RBC count, mean ± SD | 4.29 ± 0.76 | 4.30 ± 0.71 | 4.26 ± 0.90 | 0.683 |
| ALT level, Median (Q1, Q3) | 17.35 (11.47, 26.68) | 16.52 (11.15, 27.10) | 17.90 (13.60, 25.30) | 0.358 |
| AST level, Median (Q1, Q3) | 21.60 (16.80, 27.50) | 21.60 (16.80, 27.60) | 21.00 (16.90, 26.90) | 0.969 |
| BUN level, Median (Q1, Q3) | 4.70 (3.73, 5.84) | 4.74 (3.71, 6.28) | 4.58 (3.81, 5.32) | 0.034 |
| Cr level, Median (Q1, Q3) | 71.05 (61.10, 83.00) | 70.60 (60.70, 82.10) | 76.00 (66.00, 84.00) | 0.024 |
| TG level, Median (Q1, Q3) | 1.21 (0.93, 1.67) | 1.25 (0.93, 1.69) | 1.16 (0.88, 1.44) | 0.084 |
| Hb level, Mean ± SD | 120.92 ± 15.90 | 119.71 ± 16.30 | 124.56 ± 14.12 | 0.017 |
| ALB level, Mean ± SD | 35.46 ± 2.20 | 35.90 ± 2.13 | 34.15 ± 1.85 | <0.001 |
| NEUT, Mean ± SD | 6.61 ± 1.51 | 6.17 ± 1.24 | 7.93 ± 1.50 | <0.001 |
Variable selection and model construction
The importance of all variables was ranked using the LightGBM algorithm ( Figure 2(a) ). Using LASSO regression analysis, nine features were selected, including PCT, NEUT, D-dimer, NLR, HDT, duration of incarceration, FHI, LYC, and CRP ( Figure 2(b) and (c)). Based on these features, nine ML algorithms were constructed in the training and test sets ( Table 2 ).
Иллюстрация — в первоисточнике ↗
Table 2.
Evaluation of the predictive performances of machine learning models.
PPV: positive predictive value; NPV: negative predictive value; ANN: approximate nearest neighbor; DT: decision tree; KNN: K-nearest neighbor; LightGBM: light gradient boosting machine; RF: random forest; SVM: support vector machine; XGBoost: extreme gradient boosting; ET: extremely randomized trees; GBM: gradient boosting machine.
| Model | Accuracy | Sensitivity | Specificity | PPV | NPV | F1 score |
| Training data | ||||||
| ANN | 0.739 | 0.158 | 0.935 | 0.450 | 0.158 | 0.234 |
| DT | 0.876 | 0.684 | 0.941 | 0.796 | 0.684 | 0.736 |
| KNN | 0.925 | 0.585 | 0.826 | 0.653 | 0.525 | 0.487 |
| LightGBM | 0.841 | 0.561 | 0.935 | 0.744 | 0.561 | 0.640 |
| RF | 0.872 | 0.649 | 0.947 | 0.804 | 0.649 | 0.718 |
| SVM | 0.748 | 0.513 | 0.875 | 0.747 | 0.597 | 0.631 |
| XGBoost | 0.850 | 0.579 | 0.941 | 0.767 | 0.579 | 0.660 |
| ET | 0.965 | 0.860 | 0.857 | 0.796 | 0.860 | 0.925 |
| GBM | 0.951 | 0.877 | 0.976 | 0.926 | 0.877 | 0.901 |
| Test data | ||||||
| ANN | 0.755 | 0.083 | 0.973 | 0.500 | 0.083 | 0.143 |
| DT | 0.765 | 0.417 | 0.878 | 0.526 | 0.417 | 0.465 |
| KNN | 0.816 | 0.542 | 0.905 | 0.650 | 0.542 | 0.591 |
| LightGBM | 0.714 | 0.292 | 0.851 | 0.389 | 0.292 | 0.333 |
| RF | 0.745 | 0.458 | 0.838 | 0.478 | 0.458 | 0.468 |
| SVM | 0.755 | 0.314 | 0.804 | 0.611 | 0.309 | 0.415 |
| XGBoost | 0.745 | 0.417 | 0.851 | 0.476 | 0.417 | 0.444 |
| ET | 0.796 | 0.755 | 0.932 | 0.643 | 0.375 | 0.714 |
| GBM | 0.816 | 0.500 | 0.919 | 0.667 | 0.500 | 0.571 |
Figure 3 displays the ROC curves of the nine algorithms for predicting incarcerated hernia with intestinal necrosis in the training and test sets, while the confusion matrices for the test set predictions are depicted in Figure 4 . Among them, the ET algorithm achieved a sensitivity of 0.860, specificity of 0.857, F1-score of 0.925, accuracy of 0.965, and ROC–AUC of 0.996 in the training set. In the test set, it demonstrated a sensitivity of 0.755, specificity of 0.932, F1-score of 0.714, accuracy of 0.796, and ROC–AUC of 0.785. After comparing the performance metrics across all ML models, the ET model was selected as the optimal predictor for incarcerated hernia with intestinal necrosis.
Иллюстрация — в первоисточнике ↗
Иллюстрация — в первоисточнике ↗
The ROC curves of the ET model for predicting intestinal necrosis in the training and test sets are presented in Figure 5(a) . The model's predictive performance in distinguishing intestinal necrosis (highlighted in purple) from non-necrotic cases (highlighted in green) for the training and test datasets has been demonstrated in Figure 5(b) and Figure 5(c) , respectively.
Иллюстрация — в первоисточнике ↗
Explanation of the ET model using the SHAP method
As illustrated in the SHAP summary plots ( Figure 6(a) and (b)), the contribution of each feature to the model was assessed by the mean SHAP value and ranked in descending order. Additionally, SHAP dependence plots were used to elucidate how individual features influenced the output of the predictive model. Figure 7 displays the relationship between the actual values of these nine features and their corresponding SHAP values, where a SHAP value >0 indicates a positive class prediction by the model (i.e. a higher risk of intestinal necrosis). Elevated CRP, and D-dimer, and PCT levels and high NEUT and NLR were associated with an increased risk of intestinal necrosis, whereas higher LYC and HDT were correlated with a reduced risk. Furthermore, a duration of incarceration >24 h and the presence of FHI were associated with a markedly elevated risk of intestinal necrosis.
Иллюстрация — в первоисточнике ↗
Иллюстрация — в первоисточнике ↗
SHAP individual waterfall plots
Figure 8 shows the individual waterfall plot for the following set of patients: (a) patients with intestinal necrosis and (b) patients without intestinal necrosis. The SHAP values indicate the prediction-related features of individual patients and the contribution of each feature to the intestinal necrosis prediction. The bold-faced numbers represent the probabilistic predicted values ( f ( x )), whereas the base values are the values predicted without giving input to the model. The f ( x ) is the log odds ratio of each observation. The features that increase the intestinal necrosis risk are indicated in red, and the features that decrease the intestinal necrosis risk are indicated in blue. The length of the arrows depicts the magnitude of the effect on the prediction. The longer the arrow, the larger the effect.
Иллюстрация — в первоисточнике ↗
Discussion
The objective of this study was to construct a ML model for predicting the presence or absence of intestinal necrosis in older incarcerated hernia patients using ML techniques and to perform interpretability analysis of the model using the SHAP method. We collected clinical data from 323 previously treated older incarcerated hernia patients. Through data processing and feature selection, nine ML models were developed. A comprehensive evaluation of various metrics revealed that the ET model demonstrated high predictive value in both training and test datasets, with high sensitivity, specificity, and AUC values. This indicates that the ET model exhibits strong discriminative and calibration capabilities in predicting intestinal necrosis in older incarcerated hernia patients. Therefore, we selected the ET model as the optimal model and performed interpretability analysis using SHAP values. SHAP values can quantify the contribution of each feature to the model's predictions while revealing the nonlinear relationships between features and the predicted outcomes. 12 , 13
Our study identified PCT level, NEUT, D-dimer level, NLR, HDT, duration of incarceration, FHI, LYC, and CRP level as critical factors influencing intestinal necrosis in older incarcerated hernia patients. Elevated PCT, D-dimer, and CRP levels; high NEUT; and increased NLR were associated with an increased risk of intestinal necrosis, whereas higher LYC and HDT exhibited a negative correlation with necrosis risk. Moreover, when the symptom duration of incarceration was >24 h and FHI was present, the risk of intestinal necrosis rose significantly. These findings not only enhance the transparency and credibility of ML models in medical applications but also deepen clinicians’ understanding of the pathogenesis of intestinal necrosis in older incarcerated hernia patients. 14 – 16 This evidence-based insight supports the development of more rational and effective treatment strategies. 17 , 18
Overall, this study makes the following contributions. First, we developed an efficient and interpretable ML model to predict the risk of intestinal necrosis in older patients with incarcerated hernia, which can assist clinicians in early identification of older incarcerated hernia patients with intestinal necrosis, enabling timely surgical intervention and improving patient prognosis. 19 , 20 The established ET model demonstrates high accuracy, sensitivity, and specificity, making it a viable auxiliary diagnostic tool in clinical practice. It helps medical staff promptly detect and treat older incarcerated hernia patients with intestinal necrosis, thereby improving outcomes and reducing mortality. 21 , 22 Second, this study reveals key clinical features associated with intestinal necrosis in older incarcerated hernia patients and their correlations, contributing to a deeper understanding of disease progression. These findings support the development of more rational treatment strategies. 23 , 24
This study utilized SHAP analysis to reveal that PCT, D-dimer, and CRP levels; NEUT; NLR; HDT; duration of incarceration; FHI; and LYC are significant predictors of intestinal necrosis in older patients with incarcerated hernia. Higher levels of D-dimer, PCT, and CRP; increased NEUT; and elevated NLR were associated with an increased risk of intestinal necrosis, whereas higher LYC and HDT correlated with a reduced risk. Additionally, when the duration of incarceration was >24 h and FHI was present, the risk of intestinal necrosis significantly increased. These findings provide new insights and directions for further exploration of the mechanisms underlying intestinal necrosis. Based on these findings, more rational and effective treatment strategies can be developed for older incarcerated hernia patients with different risks of intestinal necrosis. 25 , 26 For high-risk patients, emergency surgery should be performed, with necrotic bowel resection during the operation and avoidance of mesh placement. For low-risk patients, manual reduction can be followed with further observation and elective tension-free hernia repair to improve clinical symptoms. 27 – 29 Furthermore, this study explored a novel approach using SHAP to enhance the interpretability of ML models. This method improves the transparency and trustworthiness of ML applications in the medical field, providing clinicians with more intuitive and reliable decision support. By applying SHAP to a ML model predicting intestinal necrosis risk in older incarcerated hernia patients, this study offers an effective solution to the black box problem commonly encountered in medical artificial intelligence (AI) research. The SHAP method not only quantifies the contribution of each feature to the outcome but also illustrates the relationship between individual features and the predicted result. 30 This enables clinicians to understand how the model generates specific predictions based on patient characteristics and identifies which features significantly influence the outcome. 31 Consequently, this approach enhances clinicians’ trust and acceptance of ML models while delivering more transparent and actionable decision-making support. 32
This study has certain limitations. First, the data were derived from a single-center retrospective observational study without an external validation cohort, which may have introduced selection bias, thereby limiting the generalizability and representativeness of the findings. Second, the dataset primarily included clinical variables and laboratory parameters, potentially omitting critical diagnostic indicators for intestinal necrosis, such as ultrasound and computed tomography data. This may have affected the comprehensiveness and depth of the results.
Conclusions
In summary, the ET model developed in this study demonstrates high sensitivity and specificity. The SHAP algorithm enables both global and individual-level interpretability of the model predictions. In clinical practice, this approach may serve as a valuable decision-support tool to assist physicians in prompt identification of older incarcerated hernia patients with concurrent intestinal necrosis, facilitating appropriate treatment decisions and ultimately improving patient outcomes.
Supplemental Material
sj-docx-1-imr-10.1177_03000605261455766 - Supplemental material for Development of an interpretable machine learning model for predicting intestinal necrosis in older patients with incarcerated hernia: A retrospective cohort study
Supplemental material, sj-docx-1-imr-10.1177_03000605261455766 for Development of an interpretable machine learning model for predicting intestinal necrosis in older patients with incarcerated hernia: A retrospective cohort study by Rui Liu, Yu Zhang, Shengjin Han, Zhengwu Zhou and Jianzhong Ma in Journal of International Medical Research
Acknowledgments
The authors are thankful to the Lu'an Hospital of Anhui Medical University (Lu'an People's Hospital of Anhui Province).
ORCID iD: Rui Liu https://orcid.org/0009-0005-1064-2984
Ethics approval: Ethical approval for this study (KY-2025-065-01) was granted by the Institutional Ethics Committee of Lu’an Hospital Affiliated to Anhui Medical University.
Patient consent: Informed consent was obtained from all patients involved in this study, and this has been duly verified and approved during the ethical review process.
Author contributions: Rui Liu contributed to data collection, statistical analysis, and manuscript writing. Yu Zhang and Shengjin Han contributed to figure preparation and language editing. Zhengwu Zhou reviewed the ethical documentation. Jianzhong Ma designed the study.
Funding: The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The authors received financial support from the Lu’an Hospital of Anhui Medical University (Lu’an People's Hospital of Anhui Province).
The authors declare no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Data availability: The datasets analyzed in this study are available from the first author/corresponding author upon reasonable request, subject to the approval of the Institutional Ethics Committee of Lu’an Hospital of Anhui Medical University.
Supplemental material: Supplemental material for this article is available online.
References
1 Chen P Huang L Yang W , et al. Risk factors for bowel resection among patients with incarcerated groin hernias: a meta-analysis . Am J Emerg Med 2020 ; 38 : 376 – 383 . 31836337 10.1016/j.ajem.2019.09.023
2 INCA Trialists Collaboration . Operation compared with watchful waiting in elderly male inguinal hernia patients: a review and data analysis . J Am Coll Surg 2011 ; 212 : 251 – 259 .e4. 21183367 10.1016/j.jamcollsurg.2010.09.030
3 Kurt N Oncel M Ozkan Z , et al. Risk and outcome of bowel resection in patients with incarcerated groin hernias:retrospective study . World J Surg 2003 ; 27 : 741 – 743 . 12724826 10.1007/s00268-003-6826-x
4 Fan Z Jiang J Xiao C , et al. Construction and validation of prognostic models in critically ill patients with sepsis-associated acute kidney injury: interpretable machine learning approach . J Transl Med 2023 ; 21 : 406 . 37349774 10.1186/s12967-023-04205-4 PMC10286378
5 Zhou Q Peng F Pang Z , et al. Development and validation of an interpretable machine learning model for diagnosing pathologic complete response in breast cancer . Comput Methods Programs Biomed 2025 ; 267 : 108803 . 40318573 10.1016/j.cmpb.2025.108803
6 Su YT Tang JX Li SC , et al. [ Influencing factors of small intestinal ischemia in elderly patients with incarcerated hernia Zhonghua Wai Ke Za Zhi [ Chin J Surg] 2023 ; 61 : 493 – 497 . 37088482 10.3760/cma.j.cn112139-20230221-00078
7 Tastaldi L Krpata DM Prabhu AS , et al. Emergent groin hernia repair: a single center 10-year experience . Surgery 2019 ; 165 : 398 – 405 . 30217396 10.1016/j.surg.2018.08.001
8 Collins GS Moons KGM Dhiman P , et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods . BMJ 2024 ; 385 : e078378 . 10.1136/bmj-2023-078378 PMC11019967 38626948
9 Sun R Li Y Kang Y , et al. Interpretable machine learning models to predict decline in intrinsic capacity among older adults in China: a prospective cohort study . Maturitas 2025 ; 198: 108594 . 40344939 10.1016/j.maturitas.2025.108594
10 Bi J Yu Y . Predicting liver metastasis in pancreatic neuroendocrine tumors with an interpretable machine learning algorithm: a SEER-based study . Front Med (Lausanne) 2025 ; 12 : 1533132 . 40375925 10.3389/fmed.2025.1533132 PMC12078274
11 Zhou Z Tong C Li Y , et al. SHapley additive exPlanations (SHAP)-based, multivariate machine-learning techniques with external validation: construction of a preoperative interpretable predictive model for intestinal resection of incarcerated inguinal hernia . Surgery 2025 ; 184: 109406 . 40367731 10.1016/j.surg.2025.109406
12 Nanayakkara S Fogarty S Tremeer M , et al. Characterising risk of in-hospital mortality following cardiac arrest using machine learning: a retrospective international registry study . PLOS Med 2018 ; 15 : e1002709 . 10.1371/journal.pmed.1002709 PMC6267953 30500816
13 Zhu XY Zhang KJ Li X , et al. An interpretable machine learning method for risk stratification of patients with acute coronary syndrome . Heliyon 2024 ; 10 : e36815 . 10.1016/j.heliyon.2024.e36815 PMC11387528 39263147
14 Dai W Chen Z Zuo J , et al. Risk factors of postoperative complications after emergency repair of incarcerated groin hernia for adult patients: a retrospective cohort study . Hernia 2019 ; 23 : 267 – 276 . 30421299 10.1007/s10029-018-1854-5 PMC6456471
15 Eyvaz K Dincer OI Kazan MK , et al. Neutrophil to C-reactive protein ratio: an estimating factor for intestinal ischemia before the surgery of incarcerated inguinal hernia . North Clin Istanb 2021 ; 8 : 575 – 580 . 35284784 10.14744/nci.2021.26878 PMC8848489
16 Bouassida M Dougaz MW Beji H , et al. Intestinal ischemia in patients with incarcerated groin hernia: proposal and validation of a score . Langenbeck’s Arch Surg 2022 ; 407 : 2547 – 2554 . 35478051 10.1007/s00423-022-02521-9 PMC9045792
17 Jiang XM Huang WH . Predictors and risk factors for intestinal necrosis in patients with incarcerated inguinal hernia . Fudan Univ J Med Sci 2023 ; 50 : 710 – 716 .
18 Moazzez A Dubina ED Park H , et al. Outcomes of concomitant mesh placement and intestinal procedures during open ventral hernia repair . Hernia 2021 ; 25 : 701 – 708 . 33216254 10.1007/s10029-020-02332-1
19 Li SJ Xiao HB Yang L , et al. Electrospun P(LLA-CL) nanoscale fibrinogen patch vs porcine small intestine submucosa graft repair of inguinal hernia in adults: a randomized, single-blind, controlled, multicenter, noninferiority trial . J Am Coll Surg 2019 ; 229 : 541 – 551.e1 . 31525422 10.1016/j.jamcollsurg.2019.08.1446
20 Wang K Tan S Xiao Y , et al. Characteristics and treatments for pediatric ordinary and incarcerated inguinal hernia based on gender:12-year experiences from a single center . BMC Surg 2021 ; 21 : 67 . 33522917 10.1186/s12893-020-01039-5 PMC7849117
21 Reinke CE Matthews BD . What’s new in the management of incarcerated hernia . J Gastrointest Surg 2020 ; 24 : 221 – 230 . 31637626 10.1007/s11605-019-04352-4
22 Hershkovitz Y Zager Y Segal B , et al. Manual closed reduction of incarcerated hernia: is it safe in the emergency department? Isr Med Assoc J 2022 ; 24 : 11 – 14 . 35077039
23 Gianchandani Moorjani R Díaz García A Rosat Rodrigo A , et al. Use of ICG to evaluate the viability of intestine during laparoscopic transabdominal hernioplasty in emergency surgery of incarcerated hernia . Cir Esp (Engl Ed) 2021 ; 99 : 313 – 314 . 32563564 10.1016/j.ciresp.2020.05.014
24 Xie TH Fu Y Ren XX , et al. Incarcerated hernia of the hypogastric linea alba accompanied by intestinal obstruction . Asian J Surg 2020 ; 43 : 870 – 871 . 32622531 10.1016/j.asjsur.2020.05.012
25 Quirch SP Abello V Chamberlain O , et al. Rectus sheath nerve block for analgesia & incarcerated hernia reduction in the emergency department . Am J Emerg Med 2024 ; 86 : 189.e5 – 189.e8 . 10.1016/j.ajem.2024.10.021 39428302
26 Venara A Hubner M Le Naoures P , et al. Surgery for incarcerated hernia: short-term outcome with or without mesh . Langenbecks Arch Surg 2014 ; 399 : 571 – 577 . 24789811 10.1007/s00423-014-1202-x
27 Di Saverio S Gori A Chisari E , et al. Laparoscopic management of adhesive small bowel obstruction wit strangulation: when to resect and how to distinguish reversible from nonreversible bowel ischaemia–a video vignette . Colorectal Dis 2019 ; 21 : 727 – 729 . 30933396 10.1111/codi.14627
28 Ertekin SC Cetindag O . Assessment of surgical and quality-of-life outcomes between laparoscopic versus open inguinal hernia repair in geriatric patients . J Laparoendosc Adv Surg Tech A 2023 ; 33 : 872 – 878 . 37339439 10.1089/lap.2023.0147
29 Jacob R Guy SB Kamila L , et al. Comparison of emergent laparoscopic and open repair of acutely incarcerated and strangulated hernias-short-and long-term results . Surg Endosc 2023 ; 37 : 2154 – 2162 . 36326933 10.1007/s00464-022-09743-4
30 Zhang N Wang Y Zhang H , et al. Application of interpretable machine learning algorithms to predict macroangiopathy risk in Chinese patients with type 2 diabetes mellitus . Sci Rep 2025 ; 15 : 16393 . 40355529 10.1038/s41598-025-01161-5 PMC12069545
31 Xie S Wu M Shang Y , et al. Development and validation of an early diagnosis model for severe mycoplasma pneumonia in children based on interpretable machine learning . Respir Res 2025 ; 26 : 182 . 40361124 10.1186/s12931-025-03262-1 PMC12070602
32 Chen S Gao Y Du L , et al. Comparing interpretable machine learning models for fall risk in middle-aged and older adults with and without pain . Sci Rep 2025 ; 15 : 17032 . 40379780 10.1038/s41598-025-01651-6 PMC12084647
Предметные рубрики MeSH
Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Ошибки и ограничения
История · было → стало
Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.
Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.