| Literature DB >> 32642833 |
Giovanni Muscas1, Tommaso Matteuzzi2, Eleonora Becattini3, Simone Orlandini3, Francesca Battista3, Antonio Laiso3,4, Sergio Nappini4, Nicola Limbucci4, Leonardo Renieri4, Biagio R Carangelo5, Salvatore Mangiafico4, Alessandro Della Puppa3.
Abstract
BACKGROUND: Shunt-dependent hydrocephalus significantly complicates subarachnoid hemorrhage (SAH), and reliable prognosis methods have been sought in recent years to reduce morbidity and costs associated with delayed treatment or neglected onset. Machine learning (ML) defines modern data analysis techniques allowing accurate subject-based risk stratifications. We aimed at developing and testing different ML models to predict shunt-dependent hydrocephalus after aneurysmal SAH.Entities:
Keywords: Hydrocephalus; Machine learning; Prognostic models; Shunt-dependency; Subarachnoid hemorrhage
Mesh:
Year: 2020 PMID: 32642833 PMCID: PMC7593274 DOI: 10.1007/s00701-020-04484-6
Source DB: PubMed Journal: Acta Neurochir (Wien) ISSN: 0001-6268 Impact factor: 2.216
Variables retrieved
| Type | Variable |
|---|---|
| Patient-related | Age, gender, ASA, Karnofsky |
| Disease-related | Hunt-Hess, WFNS, GCS, NIHSS, supplementary motor NIHSS, mRS, clinical vasospasm, posttreatment fever, timing of fever onset and fever duration, meningitis, other infections, aneurysm location and max. diameter, multiple aneurysms, vasospasm |
| Radiological | Fisher, BNI, ICH or IVH, SAH and IVH sum score, BI, acute hydrocephalus on presentation, rebleeding |
| Treatment-related | Aneurysm treatment (endovascular or surgical), treatment timing, treatment complication, EVD insertion, and duration of EVD treatment |
WFNS, World Federation of Neurosurgical Societies; GCS, Glasgow coma score; NIHSS, National Institute of Health Stroke Scale; mRS, modified rankin scale; ASA, American Society of Anesthesiologists; BNI, Barrow Neurological Institute; ICH, intracerebral hemorrhage; IVH, intraventricular hemorrhage; SAH, subarachnoid hemorrhage; BI, bicaudate index; EVD, external ventricular drain
Variables used for the models creation
| Variable; | Category | Total | Shunt – | Shunt + | |
|---|---|---|---|---|---|
| Sex; | F | 262 (67.9%) | 222 (66.1%) | 40 (80%) | 0.05 |
| M | 124 (32.1%) | 114 (35.9%) | 10 (20%) | ||
| Age; | 58.9 (± 13.2) | 58.5 (± 13.4) | 61.6 (± 11) | 0.1 | |
| GCS; | 12–15 | 294 (76.2%) | 261 (77.7%) | 41 (82%) | 0.4 |
| 8–11 | 31 (8%) | 27 (8%) | 4 (6%) | 0.6 | |
| < 8 | 61 (15.8%) | 48 (14.3%) | 6 (12%) | 0.6 | |
| Fisher; | 0 | 1 (0.3%) | 1 (0.3%) | 0 | 0.7 |
| 1 | 21 (5.7%) | 20 (6.2%) | 0 | 0.07 | |
| 2 | 52 (14.2%) | 51 (16%) | 1 (2.1%) | 0.01 | |
| 3 | 108 (29.3%) | 102 (32%) | 6 (12.5%) | ||
| 4 | 186 (50.5%) | 145 (45.4%) | 41 (85.4%) | ||
| Hunt-Hess; | 0 | 0 | 0 | 0 | / |
| 1 | 128 (33.2%) | 123 (36.6%) | 5 (10%) | ||
| 2 | 91 (23.6%) | 82 (24.4%) | 9 (18%) | 0.5 | |
| 3 | 93 (24.1%) | 69 (20.5%) | 24 (48%) | ||
| 4 | 28 (7.2%) | 23 (6.9%) | 5 (10%) | 0.4 | |
| 5 | 46 (11.9%) | 39 (11.6%) | 7 (14%) | 0.9 | |
| WFNS; | 1 | 201 (52.2%) | 192 (57.3%) | 9 (18%) | |
| 2 | 59 (15.3%) | 45 (13.4%) | 14 (28%) | ||
| 3 | 17 (4.4%) | 13 (3.9%) | 4 (8%) | 0.6 | |
| 4 | 57 (14.8%) | 45 (13.4%) | 12 (24%) | 0.05 | |
| 5 | 51 (13.3%) | 40 (12%) | 11 (22%) | 0.05 | |
| ICH; | Yes | 97 (25.7%) | 76 (23.2%) | 21 (42%) | 0.1 |
| No | 281 (74.3%) | 252 (76.8%) | 29 (58%) | ||
| IVH; | Yes | 204 (53.4%) | 162(48.6%) | 42 (84%) | |
| No | 179 (46.6%) | 171 (51.4%) | 8 (16%) | ||
| Treatment timing; | <6 h | 74 (20%) | 62 (19.4%) | 12 (24.5%) | 0.5 |
| 6–12 h | 136 (37%) | 114 (35.7%) | 22 (44.9%) | 0.3 | |
| 12–24 h | 86 (23.4%) | 75 (23.5%) | 11 (22.4%) | 0.7 | |
| > 24 h | 72 (19.6%) | 68 (21.4%) | 4 (8.2%) | 0.1 | |
| IVH sum score; | 2.1 (± 2.9) | 1.8 (± 2.7) | 4.25 (± 3.3) | ||
| Bicaudate index post-op; | 0.17 (± 0.06) | 0.16 (± 0.06) | 0.2 (± 0.05) | ||
| mRS; | 0 | 80 (20.8%) | 76 (22.7%) | 4 (8%) | 0.02 |
| 1 | 31 (8.1%) | 28 (8.6%) | 3 (6%) | 0.5 | |
| 2 | 87 (22.6%) | 78 (23.3%) | 9 (18%) | 0.4 | |
| 3 | 51 (13.2%) | 42 (12.5%) | 9 (18%) | 0.3 | |
| 4 | 61 (15.8%) | 49 (14.6%) | 12 (24%) | 0.2 | |
| 5 | 75 (19.5%) | 61 (18.3%) | 13 (26%) | 0.1 | |
| 6 | 0 | 0 | 0 | / | |
| ASA; | 1 | 128 (33.6%) | 115 (34.6%) | 13 (26.5%) | 0.4 |
| 2 | 128 (33.6%) | 108 (32.5%) | 20 (40.8%) | 0.2 | |
| 3 | 79 (20.7%) | 68 (20.5%) | 11 (22.5%) | 0.7 | |
| 4 | 10 (2.6%) | 10 (3.1%) | 0 | 0.2 | |
| 5 | 36 (9.5%) | 31 (9.3%) | 5 (10.2%) | 0.5 | |
| KPS; | 64 (±29) | 65 (±29) | 53 (±27) | ||
| NIHSS; n = 387 (100%) | 8 (±12) | 7 (±12) | 11 (±13) | 0.03 | |
| Motor NIHSS; n = 387 (100%) | 4 (±7) | 4 (±7) | 5 (±7) | 0.2 | |
| Acute hydrocephalus; | Yes | 83 (25.5%) | 59 (21%) | 24 (54.3%) | |
| No | 242 (74.5%) | 222 (81%) | 20 (45.7%) | ||
| EVD; n = 386 (100%) | Yes | 115 (29.8%) | 75 (22.3%) | 40 (80%) | |
| No | 271 (70.2%) | 261 (77.7%) | 10 (20%) | ||
| Days W. EVD; | ≤ 5 days | 284 (73.6%) | 271 (80.7%) | 12 (24%) | |
| > 5 days | 102 (26.4%) | 65 (19.3%) | 38 (76%) | ||
| Aneurysm location; | AcoA | 158 (40.9%) | 134 (39.9%) | 24 (48%) | 0.05 |
| Carotid siphon | 55 (14.2%) | 48 (14.2%) | 7 (14%) | 0.8 | |
| Pcom | 32 (8.3%) | 28 (8.4%) | 4 (8%) | 0.9 | |
| MCA | 78 (20.2%) | 72 (21.4%) | 6 (12%) | 0.1 | |
| ACA | 12 (3.1%) | 9 (2.7%) | 3 (6%) | 0.3 | |
| PCA | 1 (0.3%) | 1 (0.3%) | 0 | 0.5 | |
| AICA | 1 (0.3%) | 1 (0.3%) | 0 | 0.7 | |
| PICA | 10 (2.6%) | 8 (2.3%) | 2 (4%) | 0.5 | |
| Vertebral | 7 (1.8%) | 6 (1.8%) | 1 (2%) | 0.9 | |
| Basilar | 10 (2.6%) | 9 (2.7%) | 1 (2%) | 0.9 | |
| Pericallosal/callosomarginal | 13 (3.5%) | 12 (3.6%) | 1 (2%) | 0.6 | |
| Ant. Choroidal | 6 (1.5%) | 5 (1.5%) | 1 (2%) | 0.3 | |
| Ophthalmic | 3 (0.7%) | 3 (0.9%) | 0 | 0.5 | |
| Rebleeding; | Yes | 38 (8.8%) | 29 (8.7%) | 9 (18%) | 0.4 |
| No | 348 (91.2%) | 307 (91.3%) | 41 (12%) | ||
| Aneurysm max. diameter (mm); | 7.7 (± 5.9) | 7.7 (± 6.1) | 7.8 (± 4) | 0.9 | |
| Treatment; | Endovascular | 320 (83.5%) | 278 (83.5%) | 42 (84%) | 0.9 |
| Surgical | 63 (16.5%) | 55 (16.5%) | 8 (16%) | ||
| Posttreatment ICU; | Yes | 278 (72%) | 229 (68.1%) | 49 (98%) | |
| No | 108 (28%) | 107 (31.9%) | 1 (2%) | ||
| DCI; | Yes | 130 (33.9%) | 107 (32.1%) | 23 (46%) | 0.07 |
| No | 253 (66.1%) | 226 (67.9%) | 27 (54%) | ||
| Treatment complication; | Yes | 96 (25.1%) | 81 (21.2%) | 15 (30%) | 0.5 |
| No | 286 (74.9%) | 249 (78.8%) | 35 (70%) | ||
| Multiple aneurysms; | Yes | 114 (30.6%) | 94 (28.6%) | 20 (40.8%) | 0.2 |
| No | 264 (69.4%) | 235 (71.4%) | 29 (59.2%) | ||
| Fever; | Yes | 325 (86.6%) | 279 (85.3%) | 46 (95.8%) | 0.6 |
| No | 50 (13.4%) | 48 (14.7%) | 2 (4.2%) | ||
| Fever onset; | < 7 days | 294 (93.8%) | 250 (89.6%) | 44 (91.6%) | 0.7 |
| > 7 days | 16 (6.2%) | 14 (10.4%) | 2 (6.7%) | ||
| Days w. fever; | ≤ 5 days | 177 (45.8%) | 168 (50%) | 9 (18%) | |
| > 5 days | 209 (54.2%) | 168 (50%) | 41 (82%) | ||
| Meningitis; | Yes | 18 (2.1%) | 11 (3.3%) | 7 (14.3%) | |
| No | 362 (97.9%) | 320 (96.7%) | 42 (85.7%) | ||
| Other infections; | Yes | 149 (39.1%) | 114 (34.3%) | 35 (71.4%) | |
| No | 232 (60.9%) | 218 (65.7%) | 14 (28.6%) | ||
Significant association after Bonferroni correction are highlighted with bold digits. (*) Percentage of patients with fever
AcoA, anterior communicating artery; Pcom, posterior communicating artery; MCA, middle cerebral artery; ACA, anterior cerebral artery; PCA, posterior cerebral artery; AICA, anteroinferior cerebellar artery; PICA, posteroinferior cerebellar artery
Discrimination obtained after sixfold cross-validation on the training set (n = 296)
| Algorithm | No. of variables included | AUC | Sensitivity | Specificity | PPV | Accuracy | ϕ |
|---|---|---|---|---|---|---|---|
| GL | 12 | 0.81 (±0.09) | 0.72 (±0.2) | 0.82 (±0.1) | 0.50 (±0.3) | 0.82 (±0.1) | 0.52 (±0.1) |
| DRF | 21 | 0.85 (± 0.06) | 0.78 (± 0.2) | 0.84 (± 0.1) | 0.50 (± 0.2) | 0.84 (± 0.1) | 0.53 (± 0.2) |
| GBM | 28 | 0.74 (± 0.1) | 0.68 (± 0.2) | 0.86 (± 0.1) | 0.58 (± 0.4) | 0.83 ( | 0.51 (± 0.2) |
| DL | 32 | 0.84 (± 0.07) | 0.70 (± 0.2) | 0.87 (± 0.1) | 0.60 (± 0.3) | 0.85 (± 0.1) | 0.54 (± 0.1) |
GL, generalized linear modeling; DRF, distributed random forest; GBM, gradient boosting machine; DL, deep learning; AUC, area under the receiver operating characteristic curve; PPV, positive predictive value
Discrimination metrics on the validation set (n = 90). 95%-confidence intervals are reported in brackets
| Algorithm | GL | DRF | GBM | DL |
|---|---|---|---|---|
| Binarization threshold | 0.15 | 0.24 | 0.41 | 0.86 |
| Sensitivity | 0.73 (0.39–0.94) | 0.73 (0.39–0.94) | 1.0 (0.71–0.1) | 0.45 (0.17–0.77) |
| Specificity | 0.87 (0.78–0.94) | 0.92 (0.84–0.97) | 0.62 (0.50–0.73) | 0.97 (0.1–1.0) |
| PPV | 0.46 (0.30–0.63) | 0.59 (0.38–0.77) | 0.28 (0.23–0.34) | 0.73 (0.34–0.93) |
| NPV | 0.96 (0.89–0.98) | 0.96 (0.90–0.98) | 1.0 | 0.92 (0.87–0.95) |
| ACCURACY | 0.85 (0.82–0.92) | 0.90 (0.82–0.95) | 0.67 (0.56–0.76) | 0.92 (0.87–0.95) |
| ϕ | 0.49 | 0.59 | 0.41 | 0.52 |
| AUC | 0.87 | 0.88 | 0.81 | 0.85 |
NPV, negative predictive value
Variables included in the DRF model after recursive feature elimination and their importance
| Variable | Relative importance | Scaled importance (0–1) |
|---|---|---|
| Posttreatment bicaudate index | 23.29 | 1.00 |
| EVD | 19.87 | 0.85 |
| Days with EVD | 16.20 | 0.70 |
| NIHSS on admission | 15.01 | 0.64 |
| Fisher | 11.21 | 0.48 |
| IVH sum score | 9.76 | 0.42 |
| Other Infections | 7.82 | 0.34 |
| IVH | 5.70 | 0.24 |
| WFNS | 4.80 | 0.21 |
| Age at SAH | 4.38 | 0.19 |
| mRS on admission | 3.41 | 0.15 |
| DCI | 2.85 | 0.12 |
| Aneurysm location | 2.15 | 0.09 |
| Hunt-Hess | 1.33 | 0.06 |
| KPS on admission | 0.93 | 0.04 |
| NIHSS motor on admission | 0.67 | 0.03 |
| Treatment timing from symptoms onset | 0.54 | 0.02 |
| Fever onset | 0.47 | 0.02 |
| Post-intervention ICU | 0.40 | 0.02 |
| ICH | 0.40 | 0.02 |
| ASA SCORE | 0.16 | 0.01 |
Values are determined according to how much the squared error over all trees improves after the single variables is selected for splitting on a decision tree
Fig. 1ROC curve of the model with the best performances on the a resampled training and b validation set
Confusion matrices of the model performance on the resampled training (n = 296) and validation set (n = 90) of the model with the highest accuracy and Matthews correlation coefficient, obtained with the distributed random forest algorithm and analyzing 21 variables
| Resampled training frame | |||
|---|---|---|---|
| PREDICTED | |||
| SDH − | SDH + | ||
| Observed | SDH − | 236 | 21 |
| SDH + | 20 | 19 | |
| Validation frame | |||
| PREDICTED | |||
| SDH − | SDH + | ||
| Observed | SDH − | 73 | 6 |
| SDH + | 3 | 8 | |
Fig. 2Calibration plot of the DRF model. Slope and intercept are 1.02 and 0.03 for the training frame and 0.88 and 0.07 for the validation frame
Calibration metrics from the training and validation sets
| TRAINING FRAME | VALIDATION FRAME | |||||||
|---|---|---|---|---|---|---|---|---|
| Algorithm | Slope | Intercept | Slope | Intercept | ||||
| GL | 1.20 | 0.01 | 3.25 | 0.92 | 0.27 | 0.16 | 1.68 | 0.99 |
| DRF | 1.02 | 0.03 | 1.70 | 0.99 | 0.88 | 0.07 | 1.02 | 1.00 |
| GBM | 1.90 | 0.13 | 12.15 | 0.14 | 1.10 | 0.06 | 2.88 | 0.94 |
| DL | 0.57 | 0.14 | − 29.05 | 1.00 | 0.47 | 0.05 | − 8.22 | 1.00 |
For both sets, the slope and intercept of the calibration curve and the Hoslem-Lemeshow test χ2 and p are reported
Variables considered and findings of previous works proposing prognostic scores for shunt-dependent hydrocephalus
| Author | Included variables | Results |
|---|---|---|
| Dorai et al. [ | Hunt-Hess, sex, age, aneurysm location, IVH, clot thickness on CT | Higher scores associated with higher shunt rates |
| Chan et al. [ | Hydrocephalus on admission. Hunt-Hess, CSF protein, sex, aneurysm location | Linear regression: |
| Jabbarli et al. 2016 [ | Hunt-Hess, aneurysm location, hydrocephalus on admission, EVD, IVH, CIH | AUC = 0.88, association between high scores and shunt rates ( |
| Diesing et al. [ | Hydrocephalus on admission, BNI, Hunt-Hess | AUC = 0.78 |
| Hostettler et al. [ | WFNS, hyperglycemia, aneurysm location, CRP on day 1, comorbidities, glucose on admission, leukocytes count on day 1, procalcitonin | Sensitivity and specificity on the validation set: 0.30, 0.81, respectively |
| Kim et al. [ | Hydrocephalus on admission, Fisher score, age | AUC = 0.89 (95% C.I.: 0.85–0.94) |