| Literature DB >> 35706483 |
Xu Zhang1,2, Ping Yue1,2,3, Jinduo Zhang1,2,3, Man Yang1,4, Jinhua Chen1, Bowen Zhang5, Wei Luo1,2, Mingyuan Wang1,6, Zijian Da1, Yanyan Lin1,2,3, Wence Zhou1,2,3, Lei Zhang1,2,3, Kexiang Zhu1,2,3, Yu Ren1,2, Liping Yang1,2, Shuyan Li7, Jinqiu Yuan4, Wenbo Meng1,2,3, Joseph W Leung8, Xun Li1,2,3.
Abstract
Background: Endoscopic retrograde cholangiopancreatography (ERCP) is an established treatment for common bile duct (CBD) stones. Post- ERCP cholecystitis (PEC) is a known complication of such procedure and there are no effective models and clinical applicable tools for PEC prediction.Entities:
Keywords: Cholecystitis; Complication; Endoscopic retrograde cholangiopancreatography; Logistic regression model; Machine learning; Random forest; Risk factors
Year: 2022 PMID: 35706483 PMCID: PMC9112124 DOI: 10.1016/j.eclinm.2022.101431
Source DB: PubMed Journal: EClinicalMedicine ISSN: 2589-5370
All patients’ baseline clinical features analysis.
| PEC( | Non-PEC( | χ2/Z | ||
|---|---|---|---|---|
| Age (year) | 59.72 ± 17.52 | 58.66 ± 17.19 | 1.004 | 0.575 |
| Sex (male) | 42(46.7%) | 549(53.5%) | 0.001 | 0.534 |
| Hypertension | 20(22.3%) | 201(19.6%) | 0.366 | 0.314 |
| Diabetes | 13(14.5%) | 69(6.8%) | 7.261 | 0.011 |
| Acute pancreatitis | 22(24.5%) | 109(10.7%) | 15.291 | 0.001 |
| Gallbladder stones | 86(95.6%) | 814(79.3%) | 14.025 | 0.001 |
| Gallbladder opacification | 78(86.7%) | 445(44.5%) | 62.415 | 0.000 |
| Multiple stones | 70(60%) | 653(63.58%) | 7.303 | 0.007 |
| Gallbladder thickness ≥4 mm | 71(78.89%) | 728(70.89%) | 2.602 | 0.107 |
| The size of gallbladder stones(mm) | 8.694 ± 0.906 | 9.201 ± 0.589 | 4.630 | 0.603 |
| Multiple CBD stones | 64(71.12%) | 802(78.09%) | 2.314 | 0.128 |
| Diameter of bile duct(mm) | 9.704 ± 3.670 | 10.252 ± 3.500 | 1.002 | 0.162 |
| Bile duct expansion | 60(66.67%) | 582(56.67%) | 3.383 | 0.066 |
| Duodenal diverticulum | 25(27.78%) | 230(23.40%) | 1.361 | 0.234 |
| The size of CBD stones(mm) | 7.78 ± 2.176 | 7.49 ± 2.354 | 3.681 | 0.258 |
NOTE. CBD, common bile duct.
Figure 2Flowchart of RF model.
The calculating flowchart of machine learning, performance of different parameters with different features by decision trees in the training set. With the increase of the features in the random forest by building random bagging decision trees, the prediction parameters of the model also get changed. When the top-ranking 6 risk factors are included (the dotted line), it proves that the specificity and sensitivity of the model is the best result.
Figure 3ROC curves for RF and logistic model.
a (blue): ROC curve for logistic regression model calibration test, risk factors including WBC, serum amylase levels, gallbladder stones, gallbladder opacification, ERBD, mechanical lithotripsy, EPBD and residual CBD stones after ERCP, the sensitivity, specificity and AUC were 0.811 and 0.791 and 0.864.
b (green): ROC curve for RF model calibration test by predictive value in RF model by decision trees, factors including WBC count, EPBD, the increase in WBC, residual CBD stones after ERCP, serum amylase levels, and mechanical lithotripsy.The sensitivity, specificity, accuracy, and AUC of the interactive test data set results were 0.822, 0.853, 0.855, and 0.890.
Figure 4The decision curve analysis of the RF model.
In the figure, the red curve represents the predicted performance of the RF model respectively. In addition, there are two lines, which represent two extreme cases. The gray vertical line represents the hypothesis that all patients have PEC; the black horizontal line represents the hypothesis that no PEC occurs.The curve showed that when the PEC probability was between 0.1 and 0.9 in the training set. PEC could be discriminated when using this RF predictive model to make clinical decisions. Within reasonable threshold probabilities, the predictive model by whole 6 top ranking features achieves a higher benefit.
Figure 5The clinical impact curve of the RF model.
The clinical impact curve analysis showed the clinical predictive efficacy, the red curve (Number high risk) represents the number of people classified as positive (high risk) by the RF model at each threshold probability; the blue curve (Number high risk with outcome) is the number of true positives at each threshold probability. When the threshold probability is greater than 75% of the predicted score probability value, the RF model determines that the prediction accuracy in the training set is highly matched with the actual PEC population, which confirms that the RF model has a very high clinical efficiency.
Univariate and multivariate logistic regressions risk factors for PEC.
| n/N | Univariate analysis | Multivariate analysis | ||
|---|---|---|---|---|
| OR (95% CI) | OR (95% CI) | |||
| WBC | 1.155(1.104–1.207) | 0.000 | 1.153(1.036–1.282) | 0.009 |
| Neutrophil ratio | 1.030(1.014–1.047) | 0.001 | 0.981(0.961–1.002) | 0.081 |
| AST levels | 1.001(1.001–1.002) | 0.001 | 1.000(0.998–1.003) | 0.731 |
| Serum amylase levels | 1.001(1.001–1.002) | 0.000 | 1.001(1.000–1.001) | 0.009 |
| Direct bilirubin serum levels | 1.005(1.002–1.007) | 0.001 | 1.010(0.996–1.024) | 0.168 |
| Total bilirubin serum levels | 1.003(1.001–1.004) | 0.003 | 0.996(0.986–1.005) | 0.382 |
| Blood sugar levels | 1.102(1.027–1.184) | 0.007 | 1.013(0.914–1.122) | 0.808 |
| Gallbladder stones | 11.582(2.829–47.421) | 0.001 | 10.191(2.275–45.649) | 0.002 |
| Gallbladder opacification | 5.839(3.141–10.854) | 0.001 | 9.688(2.833–33.125) | 0.000 |
| Gallbladder thickness | 2.347(1.654–3.330) | 0.001 | 0.549(0.285–1.058) | 0.073 |
| ERBD | 2.847(1.786–4.539) | 0.000 | 2.055(1.146–3.685) | 0.016 |
| Mechanical lithotripsy | 3.172(1.957–5.142) | 0.001 | 2.294(1.293–4.072) | 0.005 |
| EPBD | 4.245(2.709–6.867) | 0.000 | 3.634(2.186–6.041) | 0.000 |
| Residual CBD stones after ERCP | 3.352(2.163–5.194) | 0.000 | 2.491(1.480–4.192) | 0.001 |
| The increase in WBC | 1.132(1.082–1.183) | 0.001 | 0.999(0.910–1.096) | 0.984 |
| The change in AST levels | 1.001(1.001–1.002) | 0.001 | 1.000(0.996–1.003) | 0.839 |
| The change in ALT levels | 1.002(1.001–1.003) | 0.002 | 1.000(0.998–1.002) | 0.793 |
NOTE. WBC, White blood count, AST, aspartate aminotransferase, ALT,alanine aminotransferase,CBD, common bile duct ERCP,endoscopic retrograde cholangiopancreatography, EPBD, endoscopic papillary balloon dilatation, ERBD, endoscopic retrograde biliary drainage.
Figure 6The public internet calculator for PEC discrimination by 6 features.
The application web server of RF model with 6 features available at http://101.35.163.113/PEC/ for the PEC prediction. Users could predict PEC by submitting 6 features into the text boxes or submitting multiple samples by uploading documents.There is a sample file for reference, but the units of the value of WBC and amylase should be consistent with the interface requirements. After calculating the outputs by the RF model, the result probability will show whether the sample is distinguished with PEC or not.