DOI 10.1007/s10143-023-02114-0
Enhancing the prediction for shunt-dependent hydrocephalus after aneurysmal subarachnoid hemorrhage using a machine learning approach.
Аннотация
Early and reliable prediction of shunt-dependent hydrocephalus (SDHC) after aneurysmal subarachnoid hemorrhage (aSAH) may decrease the duration of in-hospital stay and reduce the risk of catheter-associated meningitis. Machine learning (ML) may improve predictions of SDHC in comparison to traditional non-ML methods. ML models were trained for CHESS and SDASH and two combined individual feature sets with clinical, radiographic, and laboratory variables. Seven different algorithms were used including three types of generalized linear models (GLM) as well as a tree boosting (CatBoost) algorithm, a Naive Bayes (NB) classifier, and a multilayer perceptron (MLP) artificial neural net. The discrimination of the area under the curve (AUC) was classified (0.7 ≤ AUC < 0.8, acceptable; 0.8 ≤ AUC < 0.9, excellent; AUC ≥ 0.9, outstanding). Of the 292 patients included with aSAH, 28.8% (n = 84) developed SDHC. Non-ML-based prediction of SDHC produced an acceptable performance with AUC values of 0.77 (CHESS) and 0.78 (SDASH). Using combined feature sets with more complex variables included than those incorporated in the scores, the ML models NB and MLP reached excellent performances, with an AUC of 0.80, respectively. After adding the amount of CSF drained within the first 14 days as a late feature to ML-based prediction, excellent performances were reached in the MLP (AUC 0.81), NB (AUC 0.80), and tree boosting model (AUC 0.81). ML models may enable clinicians to reliably predict the risk of SDHC after aSAH based exclusively on admission data. Future ML models may help optimize the management of SDHC in aSAH by avoiding delays in clinical decision-making.
Другие публикации по теме
Перевод полного текста: Перевод в очереди
Полный текст источника
https://creativecommons.org/licenses/by/4.0/ Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ .
Текст сохранён. Часть иллюстраций пока доступна только в первоисточнике; загрузка будет проверена повторно.
Introduction
Shunt-dependent hydrocephalus (SDHC) is common after aneurysmal subarachnoid hemorrhage (aSAH) with rates between 7 and 67% [ 1 – 5 ]. Based on different clinical and radiological factors, various scoring systems have been developed to predict the risk of SDHC after aSAH [ 6 , 7 ]. The two validated scores with the best performance in SDHC prediction are the “Chronic Hydrocephalus Ensuing from SAH Score” (CHESS) and the “Shunt Dependency in aSAH Score” (SDASH) [ 2 , 8 , 9 ].
A recent trend in clinical prediction modelling is the introduction of machine learning (ML) algorithms allowing for the inclusion of a variety of additional complex variables [ 10 , 11 ]. For example, in aSAH and stroke, such ML algorithms were shown to improve outcome prediction [ 12 – 15 ]. Even though ML-based prediction models have entered nearly all fields of medicine, there is limited evidence on direct comparisons between non-ML and ML-based prediction [ 13 ]. ML methods have been criticized for their supposed lack of transparency and confirmability of the impact of variables used, especially in the case of more modern ML techniques, such as deep neuronal networks [ 25 ]. Also, there is some debate on which data may be best suited to further enhance the predictive capabilities of ML models. For example, given that any prediction of an event should be done as early as possible in order to adjust care decisions and potentially influence outcomes, there is an inherent need to feed ML models with early variables, such as admission data, rather than variables from later stages of clinical management, such as, in the case of SDHC, the amount of cerebrospinal fluid (CSF) drained during the first 14 days after aSAH [ 16 , 17 ].
We therefore performed a study to compare the performance of the non-ML-based scores CHESS and SDASH to different ML models in predicting SDHC after aSAH. We also compared various ML models among each other, some relying exclusively on variables available on admission, others adding the amount of 14-day CSF volumes as a late variable.
Methods and materials
Patient management and data collection
We retrospectively evaluated prospectively collected clinical, radiographic, and laboratory data of 408 consecutive patients hospitalized with aSAH at our department between January 1, 2009, and December 31, 2015. Local ethics committee approval was obtained (EA1/291/14). The only inclusion criterion was aSAH confirmed by CT or xanthochromic cerebrospinal fluid on admission. If the hemorrhage was due to trauma or we were not able to identify an aneurysmal source of the bleeding, patients were excluded. The clinical condition was assessed based on the Hunt & Hess grading system [ 18 ]. Radiographic parameters were assessed based on the admission CT. Semi-quantitative radiographic grading of the thickness of the subarachnoidal blood clot was performed according to the BNI grading system [ 19 ]. Other radiographic parameters on CT were as follows: the presence of intraventricular hemorrhage (IVH), intracerebral hemorrhage (ICH), early infarction (EI), posterior location of the aneurysm (post. loc. AY), and acute hydrocephalus (aHP). aHP was defined according to Bae and colleagues based on third ventricle enlargement and periventricular low density on CT within 72 h of the aSAH, combined with mental deterioration or impaired consciousness or memory, gait disturbance, and urinary incontinence [ 20 ]. The following laboratory serum parameters were assessed on admission: creatinine in mg/dl, glucose in mg/dl, and C-reactive protein (CRP) in mg/l.
For aSAH management, early aneurysm occlusion was attempted within 48 h after aSAH, according to previously published guidelines [ 21 , 22 ]. For aHP management, the standard protocol established by Jabbarli and colleagues was followed [ 9 ]. In the acute phase, an external ventricular drain (EVD) or lumbar drain (LD) was placed. At a later stage, a ventriculoperitoneal shunt was placed if patients could not be weaned off the external ventricular drain (EVD) or lumbar drain (LD) within 14 days.
Outcome assessment
Shunt dependency was examined in patients that survived the index hospital stay. It was assessed based on patient files from routine control visits 6–12 months after aSAH. If no routine follow-up data was available, data were obtained by telephone interview.
Scores
For the assessment of the CHESS score to predict SDHC, the following variables were included: Hunt & Hess grade ≥ 4 (1 point), aneurysm location in the posterior circulation (1 point), aHP (4 points), IVH (1 point), and early cerebral infarction on CT (1 point) [ 9 ]. The BNI score was established according to the thickness of the subarachnoid blood clot perpendicular to a cistern or fissure (1: no visible SAH; 2: ≤ 5 mm; 3: 6–10 mm; 4: 11–15 mm; 5: 16–20 mm) [ 19 ]. The SDASH ranges from 1 to 4 points and was calculated as recently described [ 2 ]. It includes the following variables: presence of aHP (2 points), BNI score ≥ 3 (1 point), and Hunt & Hess grade ≥ 4 (1 point). SDASH and CHESS scoring systems were compared using a conventional area under the curve (AUC) calculation as previously described [ 2 ].
Feature selection
Among 408 patients with aSAH in the data base, 116 patients had to be excluded as they did not survive the initial phase of the disease or based on missing information on SDHC. We therefore included 292 patients in this study. Among those, only a few variables were missing (age: 0.7%, ICH: 0.3%, aneurysm location: 0.8%). Mean/mode imputation was used in each fold to impute missing values (see section “ Model training and validation ”). Input features were included if a ratio of at least 1 to 4 for binary variables (absence/presence) was reached. Features that were shown to be associated with SDHC were included (Table 1 ). This resulted in the following variables being used in the analyses: age, Hunt & Hess grade, BNI grade, presence of aHP, presence of ICH, presence of IVH, serum levels of CRP, and glucose on admission. As a further feature, we used the amount of cerebrospinal fluid (CSF) drainage (in ml) over the first 14 days after aSAH, as it is an established risk factor of SDHC after aSAH and as it represents a “late feature” in a separate run (Fig. 1 ) [ 8 , 23 ]. Categorical features with at least three categories were transformed into binary features if they had too few instances per category. The following dichotomizations were used: radiologically defined ICH “yes”/ “no,” and aneurysm location in the anterior circulation “yes”/ “no.” Thus, all variables were either binary or continuous. Table 1 Patient characteristics Total study population ( n = 292) SDHC present ( n = 84) No SDHC present ( n = 208) p -value Age in years, median [IQR] 53 [45–61] 84 [58–64] 51 [45–59] 0.01 Female sex ( n ) 68.2% (199) 70.1% (59) 67.3% (140) 0.627 GCS, median [IQR] 15 [ 8 – 15 ] 9 [ 3 – 14 ] 15 [ 13 – 15 ] < 0.01 Hunt & Hess score ( n ) - - - < 0.01 I 30.8% (90) 9.5% (8) 39.4% (82) II 23.3% (68) 20.2% (17) 24.5% (51) III 17.8% (52) 17.9% (15) 17.8% (37) IV 12.2% (35) 22.6% (19) 7.7% (16) V 16.1% (47) 29.8% (25) 10.6% (22) Sum CFS drainage within 14 days, median [IQR] 1303 [576–2093] 1879 [1319–2391] 847 [336–1786] < 0.01 Presence of acute hydrocephalus ( n ) 33.6% (98) 63.1% (51) 21.6% (45) < 0.01 Presence of intraventricular hemorrhage ( n ) 47.3% (138) 75.0% (63) 36.1% (75) < 0.01 Presence of intracerebral bleeding ( n ) 25.7% (75) 38.1% (32) 20.7% (43) 0.02 Early infarction ( n ) 11.0% (32) 11.9% (10) 10.6% (22) 0.748 BNI score ( n ) < 0.01 1 8.2% (24) 2.4% (2) 10.6% (22) 2 18.5% (54) 7.1% (6) 23.1% (48) 3 31.8% (93) 34.5% (29) 30.8% (64) 4 31.8% (93) 39.3% (33) 28.8% (60) 5 9.6% (28) 16.7% (14) 6.7% (14) Localization of Ay ( n ) 0.325 MCA 27.4% (80) 23.8% (20) 28.8% (60) ACA 36% (105) 38.1% (32) 25.1% (73) ICA 22.6% (66) 19.0% (16) 24.0% (50) Posterior circulation 14.0% (41) 19.0% (16) 12.0% (25) Size of Ay, mm, median [IQR] 6% [ 4 – 8 ] 7 [ 5 – 10 ] 6 [ 4 – 8 ] 0.078 CRP, median [IQR] 1.0 [0.3–3.1] 1.8 [0.5–5.9] 0.8 [0.3–2.4] 0.006 Creatinine, median [IQR] 0.7 [0.6–0.8] 0.7 [0.6–0.9] 0.7 [0.6–0.8] 0.484 Glucose, median [IQR] 138 [114–117] 158 [127–202] 132 [111–153] < 0.01 Data is presented in % ( n ) or median and interquartile range. p -values were determined via the Mann–Whitney U test and the chi-quadrat Pearson test. Abbreviations: AY , aneurysm; CRP , C-reactive protein; CSF , cerebrospinal fluid; IQR , interquartile ratio; MCA , middle cerebral artery; ACA , anterior cerebral artery; ICA , internal carotid artery. Creatinine and glucose are presented in mg/dl and C-reactive protein (CRP) in mg/l Fig. 1 Prediction paradigms for shunt dependency after subarachnoid hemorrhage. Abbreviations: aHP, presence of acute hydrocephalus; AY, aneurysm; BNI, Barrow Neurological Institute scale for the thickness of subarachnoid hemorrhage; CC, conventional calculation; CRP, C-reactive protein; csf, cerebrospinal fluid; H&H, Hunt & Hess scale; ICH, intracerebral hemorrhage; IVH, intraventricular hemorrhage; tML, traditional machine learning with generalized linear models; Least absolute shrinkage and selection operator regression (LASSO) and ElasticNET; mML, modern machine learning with tree boosting (CatBoost), Naive Bayes (NV), and multilayer perceptron (MLP) neuronal network models
Table 1
Patient characteristics
Data is presented in % ( n ) or median and interquartile range. p -values were determined via the Mann–Whitney U test and the chi-quadrat Pearson test. Abbreviations: AY , aneurysm; CRP , C-reactive protein; CSF , cerebrospinal fluid; IQR , interquartile ratio; MCA , middle cerebral artery; ACA , anterior cerebral artery; ICA , internal carotid artery. Creatinine and glucose are presented in mg/dl and C-reactive protein (CRP) in mg/l
| Total study population ( n = 292) | SDHC present ( n = 84) | No SDHC present ( n = 208) | p -value | |
| Age in years, median [IQR] | 53 [45–61] | 84 [58–64] | 51 [45–59] | 0.01 |
| Female sex ( n ) | 68.2% (199) | 70.1% (59) | 67.3% (140) | 0.627 |
| GCS, median [IQR] | 15 [ 8 – 15 ] | 9 [ 3 – 14 ] | 15 [ 13 – 15 ] | < 0.01 |
| Hunt & Hess score ( n ) | - | - | - | < 0.01 |
| I | 30.8% (90) | 9.5% (8) | 39.4% (82) | |
| II | 23.3% (68) | 20.2% (17) | 24.5% (51) | |
| III | 17.8% (52) | 17.9% (15) | 17.8% (37) | |
| IV | 12.2% (35) | 22.6% (19) | 7.7% (16) | |
| V | 16.1% (47) | 29.8% (25) | 10.6% (22) | |
| Sum CFS drainage within 14 days, median [IQR] | 1303 [576–2093] | 1879 [1319–2391] | 847 [336–1786] | < 0.01 |
| Presence of acute hydrocephalus ( n ) | 33.6% (98) | 63.1% (51) | 21.6% (45) | < 0.01 |
| Presence of intraventricular hemorrhage ( n ) | 47.3% (138) | 75.0% (63) | 36.1% (75) | < 0.01 |
| Presence of intracerebral bleeding ( n ) | 25.7% (75) | 38.1% (32) | 20.7% (43) | 0.02 |
| Early infarction ( n ) | 11.0% (32) | 11.9% (10) | 10.6% (22) | 0.748 |
| BNI score ( n ) | < 0.01 | |||
| 1 | 8.2% (24) | 2.4% (2) | 10.6% (22) | |
| 2 | 18.5% (54) | 7.1% (6) | 23.1% (48) | |
| 3 | 31.8% (93) | 34.5% (29) | 30.8% (64) | |
| 4 | 31.8% (93) | 39.3% (33) | 28.8% (60) | |
| 5 | 9.6% (28) | 16.7% (14) | 6.7% (14) | |
| Localization of Ay ( n ) | 0.325 | |||
| MCA | 27.4% (80) | 23.8% (20) | 28.8% (60) | |
| ACA | 36% (105) | 38.1% (32) | 25.1% (73) | |
| ICA | 22.6% (66) | 19.0% (16) | 24.0% (50) | |
| Posterior circulation | 14.0% (41) | 19.0% (16) | 12.0% (25) | |
| Size of Ay, mm, median [IQR] | 6% [ 4 – 8 ] | 7 [ 5 – 10 ] | 6 [ 4 – 8 ] | 0.078 |
| CRP, median [IQR] | 1.0 [0.3–3.1] | 1.8 [0.5–5.9] | 0.8 [0.3–2.4] | 0.006 |
| Creatinine, median [IQR] | 0.7 [0.6–0.8] | 0.7 [0.6–0.9] | 0.7 [0.6–0.8] | 0.484 |
| Glucose, median [IQR] | 138 [114–117] | 158 [127–202] | 132 [111–153] | < 0.01 |
Иллюстрация — в первоисточнике ↗
Model selection
Additional to the conventional area under the receiver operating characteristic curve calculation, ML models were trained for each score (run 1, CHESS; run 2, SDASH). A combined model with a set (run 3) of individual features available on admission was designed to include all clinically relevant (age, GCS) and laboratory parameters (glucose, CRP) as well as radiographically important parameters (aHP, IVH, ICH) on admission independent from SDASH and CHESS model calculation was trained. The additional run 4 included the features of run 3 and the amount of CSF drained during the first 14 days after aSAH (Fig. 1 , Table 1 ).
Machine learning framework
To train ML models, a publicly available ML framework for predictive modelling was used utilizing standard ML libraries in Python. Its code can be accessed on GitHub ( https://github.com/prediction2020/explainable-predictive-models ), and details on the technical implementation can be found in previous open-access publications [ 14 , 24 ]. A supervised ML approach was trained on all clinical parameters and scores listed in Table 1 to predict SDHC. Our dataset contained 84 positive (SDHC present) and 208 negative (no SDHC present) cases. This provided a reasonably balanced dataset and thus refrained from a sub-sampling approach that would have limited the amount of data for model training.
Applied algorithms
We used six different algorithms for all RUN selections. Three types of generalized linear models (GLM) represented traditional ML models: a plain GLM, an L1 regularized GLM (equivalent to LASSO logistic regression—LASSO), and a GLM elastic net with an additional L2 regularization (ElasticNET). We also included more modern ML models like a tree boosting algorithm (CatBoost), a Naive Bayes (NB) classifier, and a type of artificial neural network, the multilayer perceptron (MLP). For run 3 (“feature combination”) and run 4 (“feature combination with 14-day CSF drainage”), feature importance ratings were calculated for all algorithms using SHapley Additive exPlanations (SHAP) values (Table 2 , Figs. 2 and 3 ). To minimize potential confounding effects on predictive performance, the variance inflation factor (VIF) was applied to assess multicollinearity for all features [ 25 ]. Table 2 Predictive performance of scores and machine learning models in training and test Run CC GLM GLM_LASSO GLM_ElasticNET MLP NB Tree boosting (CatBoost) SDASH (run 1) 0.78 0.77 (0.09) 0.78 (0.04) 0.76 (0.09) 0.78 (0.04) 0.74 (0.15) 0.77 (0.10) 0.77 (0.09) 0.78 (0.05) 0.77 (0.09) 0.78 (0.04) 0.77 (0.10) 0.78 (0.05) CHESS (run 2) 0.77 0.77 (0.08) 0.78 (0.03) 0.76 (0.08) 0.78 (0.03) 0.76 (0.14) 0.78 (0.04) 0.76 (0.08) 0.78 (0.04) 0.77 (0.08) 0.78 (0.03) 0.76 (0.07) 0.78 (0.03) Feature combination (age, GCS, HH, HCP, IVH, ICH, BNI, CRP, Gluc) (run 3) 0.78 (0.08) 0.83 (0.03) 0.79 (0.08) 0.84 (0.03) 0.78 (0.09) 0.82 (0.05) 0.80 (0.07) 0.82 (0.03) 0.80 (0.07) 0.83 (0.03) 0.79 (0.08) 0.88 (0.04) Feature combination with 14-day CSF drainage (age, GCS, H&H, CSF drainage in 14 days, HCP, IVH, ICH, BNI, CRP, Gluc) (run 4) 0.79 (0.10) 0.85 (0.03) 0.81 (0.10) 0.84 (0.03) 0.79 (0.12) 0.83 (0.03) 0.81 (0.10) 0.84 (0.03) 0.80 (0.13) 0.84 (0.03) 0.81 (0.08) 0.89 (0.04) The area under the curve for the respective training (below) and test (bold, above) set is depicted for each model trained. In column 2, we present the results of a conventional calculation (CC) of the area under the curve for SDASH and CHESS. Columns 3 to 5 on the left represent traditional machine learning (ML) models and the right three columns contain more modern machine learning techniques like MLP (multilayer perceptron), NB (Naive Bayes), and a tree boosting algorithm called CatBoost Abbreviations: aHP , presence of acute hydrocephalus; BNI , Barrow Neurological Institute scale for the thickness of subarachnoid hemorrhage; CC , conventional calculation of predictive power for scores; CHESS , Chronic Hydrocephalus Ensuing from SAH Score; CRP , C-reactive protein; csf , cerebrospinal fluid; H&H , Hunt & Hess scale; Gluc , glucose; ICH , intracerebral hemorrhage; IVH , intraventricular hemorrhage; ML , machine learning; SDASH , Shunt Dependency in aSAH Score Fig. 2 Performance and feature rating for the combined feature set for features available early in the clinical course of aneurysmal subarachnoid hemorrhage (run 3). A GLM, LASSO, and tree boosting (CatBoost) models reached the highest AUC in training (0.84/0.88) and MLP and NB in the test (0.80, respectively). A large difference between training and test was seen in tree boosting which may be an indication of overfitting. B GCS, Hunt & Hess, and the presence of early hydrocephalus were defined as the most important factors in the majority of models. Abbreviations: aHP, presence of acute hydrocephalus; BNI, Barrow Neurological Institute scale for thickness of subarachnoid hemorrhage; CRP, C-reactive protein early; GLM, generalized linear model; HCP, presence of early hydrocephalus; H&H, Hunt & Hess scale; ICH, intracerebral hemorrhage; IVH, intraventricular hemorrhage; MLP, multilayer perceptron; NB, Naive Bayes Fig. 3 Performance and feature rating for the combined feature set including 14-day cerebrospinal fluid drainage ( run 4). A The tree boosting (CatBoost) model reached the highest AUC in training (0.89) and so did MLP and tree boosting in the test (0.81, respectively). Also, a larger difference between the training and test set in the tree boosting model was noted which may be indicative of overfitting. B The presence of early hydrocephalus, GCS, Hunt & Hess, and the amount of cerebrospinal fluid drainage within the first 14 days after the hemorrhage were defined as the most important factors in the majority of models. IVH, BNI, creatinine, and glucose were rated next important with varying extent throughout the models. Abbreviations: aHP, presence of acute hydrocephalus; BNI, Barrow Neurological Institute scale for thickness of subarachnoid hemorrhage; CRP, C-reactive protein; 14d CSF, the volume of drained cerebrospinal fluid within the first 14 days after the hemorrhage; GLM, generalized linear model; HCP, presence of early hydrocephalus; H&H, Hunt & Hess scale; ICH, intracerebral hemorrhage; IVH, intraventricular hemorrhage; MLP, multilayer perceptron; NB, Naive Bayes
Table 2
Predictive performance of scores and machine learning models in training and test
The area under the curve for the respective training (below) and test (bold, above) set is depicted for each model trained. In column 2, we present the results of a conventional calculation (CC) of the area under the curve for SDASH and CHESS. Columns 3 to 5 on the left represent traditional machine learning (ML) models and the right three columns contain more modern machine learning techniques like MLP (multilayer perceptron), NB (Naive Bayes), and a tree boosting algorithm called CatBoost Abbreviations: aHP , presence of acute hydrocephalus; BNI , Barrow Neurological Institute scale for the thickness of subarachnoid hemorrhage; CC , conventional calculation of predictive power for scores; CHESS , Chronic Hydrocephalus Ensuing from SAH Score; CRP , C-reactive protein; csf , cerebrospinal fluid; H&H , Hunt & Hess scale; Gluc , glucose; ICH , intracerebral hemorrhage; IVH , intraventricular hemorrhage; ML , machine learning; SDASH , Shunt Dependency in aSAH Score
| Run | CC | GLM | GLM_LASSO | GLM_ElasticNET | MLP | NB | Tree boosting (CatBoost) |
| SDASH (run 1) | 0.78 | 0.77 (0.09) 0.78 (0.04) | 0.76 (0.09) 0.78 (0.04) | 0.74 (0.15) 0.77 (0.10) | 0.77 (0.09) 0.78 (0.05) | 0.77 (0.09) 0.78 (0.04) | 0.77 (0.10) 0.78 (0.05) |
| CHESS (run 2) | 0.77 | 0.77 (0.08) 0.78 (0.03) | 0.76 (0.08) 0.78 (0.03) | 0.76 (0.14) 0.78 (0.04) | 0.76 (0.08) 0.78 (0.04) | 0.77 (0.08) 0.78 (0.03) | 0.76 (0.07) 0.78 (0.03) |
| Feature combination (age, GCS, HH, HCP, IVH, ICH, BNI, CRP, Gluc) (run 3) | 0.78 (0.08) 0.83 (0.03) | 0.79 (0.08) 0.84 (0.03) | 0.78 (0.09) 0.82 (0.05) | 0.80 (0.07) 0.82 (0.03) | 0.80 (0.07) 0.83 (0.03) | 0.79 (0.08) 0.88 (0.04) | |
| Feature combination with 14-day CSF drainage (age, GCS, H&H, CSF drainage in 14 days, HCP, IVH, ICH, BNI, CRP, Gluc) (run 4) | 0.79 (0.10) 0.85 (0.03) | 0.81 (0.10) 0.84 (0.03) | 0.79 (0.12) 0.83 (0.03) | 0.81 (0.10) 0.84 (0.03) | 0.80 (0.13) 0.84 (0.03) | 0.81 (0.08) 0.89 (0.04) |
Иллюстрация — в первоисточнике ↗
Иллюстрация — в первоисточнике ↗
Model training and validation
All data were split randomly into training and test sets at a 4:1 ratio. On both sets, we performed mean/mode imputation and feature scaling using zero-mean unit variance normalization based on the training set. A tenfold cross-validation was used for hyperparameter tuning. This process was repeated in 50 shuffles.
Performance assessment
Receiver operating characteristic (ROC) analysis was used to test the model performance on the test set by measuring the AUC. Performance was also assessed based on accuracy, average class accuracy, precision, recall, F1 score, negative predictive value, and specificity. The Brier score was used to quantify model calibration. According to Hosmer and Lemeshow, we used the following classification system for AUC: 0.7 ≤ AUC < 0.8, “acceptable”; 0.8 ≤ AUC < 0.9, “excellent”; AUC ≥ 0.9, “outstanding” [ 26 , 27 ].
Interpretability assessment
To facilitate the comparability of feature ratings across models, we scaled the absolute values of the SHAP feature importance scores to the unit norm and, for each of the 50 shuffles, rescaled them to a range from 0 to 1 with their sum equal to 1. Each features’ means and standard deviations, calculated on the test sets over all shuffles, were reported as the final rating measures.
Results
Patient characteristics
Two hundred ninety-two patients with a median age of 53 years [IQR 45; 61] and a female to male ratio of 2:1 were included in the analysis. Of these, 28.8% ( n = 84) developed SDHC. Clinical, radiographic, and laboratory data in the entire patient cohort are depicted in Table 1 .
SDASH and CHESS score validity in conventional and ML-based outcome prediction
A conventional AUC calculation without ML algorithms revealed an AUC of 0.77 for CHESS and 0.78 for SDASH. To maintain comparability of scores in the ML-based models, CHESS and SDASH score values were introduced to the ML framework. Here, both scores reached acceptable prediction in training (AUC range: 0.77–0.78) and test (AUC range: 0.74–0.77) without remarkable differences between classic ML models (GLM, LASSO, ElasticNET) and more modern ML models (MLP, NB, CatBoost) (Table 2 ).
ML-based prediction with early parameters
The feature combination set with variables available on admission (run 3) revealed excellent predictive performance in training (AUC range: 0.82–0.88 [tree boost]) and reached acceptable performances in the GLM models and tree boosting model in the test set (AUC range: 0.78–0.79). In the test set, excellent performance was reached for the MLP and NB model (AUC 0.80, respectively (Table 2 , Fig. 2 A). The most important features were aHP, GCS, or Hunt & Hess H, and to varying extents in different models, BNI, IVH, CRP, and glucose (Fig. 2 B).
ML-based prediction with early parameters and CSF volume drained within 14 days
The addition of the volume of CSF drained within the first 14 days as a late parameter after aSAH revealed further increases of the AUC to excellent performances in the test for the GLM (0.81), MLP (0.81), NB (0.80), and tree boosting (0.81) model (Table 2 , Fig. 3 A). When CSF was added to run 4, this variable gained importance being rated second or third highest after GCS or Hunt & Hess and HCP in most models (Fig. 3 B).
Discussion
We present the first study on the prediction of SDHC after aSAH comparing traditional scoring systems to ML-based models and different ML-based models among each other. The main result of this analysis is that predictive performances of conventional scores SDASH and CHESS were reproduced with an ML-based analysis of these scores. A combination of features that were available already at admission and that were shown to be relevant for SDHC was introduced to an ML model approach, which resulted in an increase of predictive performance to an AUC of 0.80, which represents excellent prediction performance. Adding the late variable “14-day CSF volume” further improved the prediction of SDHC.
The fact that, in our study, the examined ML-based calculation of SDASH and CHESS scores reached predictive performances comparable to traditional and validated SDASH and CHESS scores suggests that ML approaches are valid and reproducible in predicting SDHC after aSAH [ 2 , 8 , 9 ]. This is of particular importance, as ML methods have previously been labeled “black-box-models” [ 28 ]. Especially more modern ML models, e.g., deep neural networks, have been criticized for being designed to identify and make use of associations between features rather than describe those associations in detail, which may limit the interpretability of the results [ 29 , 30 ]. ML methods are therefore still predominantly used in the domain of predicting outcomes and complications, where their application is considered safe enough to allow them to learn continuously, as standard care is not affected while model updates can be carried out [ 31 ]. As ML models learn, it is important to identify the point at which their predictive performance surpasses validated non-ML prediction models. To this end, in our view, a continuous direct comparison between ML output and corresponding non-ML results is needed to prevent ML models from being perceived as black boxes simply producing different levels of AUC values. Critics of ML models in outcome prediction stress the lack of transparency as shown in a recent study [ 32 ]. Currently unanswered questions such as “What level of model transparency is required?” and “Do we understand the model outputs and whether they are unreliable and therefore not to be trusted?” may influence the future clinical utility of ML-based applications [ 32 , 33 ]. This prompted us to compare ML outputs to well-established standards that are currently used in clinical practice. Moreover, our study specifically aims to identify and document factors contributing to potentially superior outputs of ML models and may therefore serve as a basis for future research.
It is somewhat surprising that this step of ML model validation is rarely done. A strength of the presented analysis is that it allows for a direct comparison of established, validated score calculations with traditional and more modern ML methods, which, in the case of predicting SDHC after aSAH, has never been done before. Only one other study exists examining ML methods in predicting SDHC after aSAH, albeit without comparison to non-ML methods [ 29 ]. In that study, on the basis of 368 patients and 32 variables, various ML algorithms were used, and the highest performance was reached using a distributed random forest model based on 21 variables, leading to a predictive performance with an AUC of 0.88 in validation and 0.85 in test with sixfold cross-validation [ 34 ]. That model included clinical and radiographic variables available on admission but also late variables, such as type of aneurysm treatment, ICU stay, time from symptom onset to treatment initiation, presence of fever, meningitis, treatment complications, and other infections. In our study, the ML-based feature combination (run 3) was solely based on features available at admission but also reached excellent prediction with the MLP and NB model.
Given that the prediction of any event becomes more valuable the sooner it is made, our finding that an ML algorithm based exclusively on admission data can predict SDHC with excellent performance is encouraging [ 17 ]. Of note, we did in fact observe a mild increase in predictive performance once the amount of 14-day CSF drainage was added to ML algorithms. In discussing the merits of late versus early variables, it is important to note that it hardly surprises that, in the case of our study, the late variable “14-day CSF volumes” led to improved prediction of SDHC, since this feature merely quantifies the failed attempt to wean patients off of EVD or LD, which is basically a symptom of SDHC rather than a risk factor. It is important to stress that any delay, in the case of our analysis a delay of 14 days in order to assess total CSF drainage, may outweigh the benefits of improved predictive performance, since it can increase the risk of complications. For example, delayed prediction of SDHC after aSAH may mean extended duration of external ventricular catheterization, which has been shown to be associated with increased rates of catheter-associated infection [ 35 ]. The finding that later variables may, to a certain degree, improve ML performance is in line with evidence from a recent study on ML-based prediction of discharge outcomes after aSAH, which describes the improvement of prediction once features from later phases of in-hospital stay are added to ML algorithms [ 16 ]. However, in that study, as well, the predictive performance of ML models including later features was not substantially better than ML algorithms based exclusively on admission data. In the case of SDHC prediction in aSAH, later variables that were shown to be associated with SDHC in non-ML prediction models were rebleeding and in-hospital complications such as meningitis, pneumonia, vasospasm, and ischemic stroke [ 3 – 7 ]. Whether the inclusion of these additional late factors may have improved our model remains elusive.
Another finding in our study was that ML models using only CHESS or SDASH data in the prediction of SDHC showed inferior performance when compared with ML models using variables more complex and comprehensive than CHESS or SDASH, such as the semi-quantitative measure BNI for the thickness of subarachnoidal blood, the presence of intracerebral hemorrhage, early infarction, and the age and laboratory serum parameters that were included. These additional factors were chosen, because their predictive value for SDHC was established in previous studies [ 2 , 6 , 8 ]. Our more multilayered ML models resulted in prediction improvements by 0.01 to 0.04 AUC points compared to CHESS and SDASH. It is reasonable to assume that future ML models with more multi-layered sets of admission features may further enhance predictive performances on admission. This could significantly influence treatment strategies, such as the timing of implantation of a ventriculoperitoneal shunt, or transfer to intensive care. Whether the addition of radiographic source data or other parameters previously shown to be associated with SDHC, e.g., cerebrospinal fluid markers such as total protein, red blood cell count, interleukin-6, or glucose, would have improved the predictive performance of the models used in our study remains to be tested [ 36 ]. The same goes for later variables previously shown to be associated with SDHC in non-ML prediction models, such as rebleeding and in-hospital complications such as meningitis, pneumonia, vasospasm, and ischemic stroke [ 37 – 41 ]. Whether the inclusion of such later factors would have impacted our models’ predictions is uncertain. Our data suggest that ML methods are suited for testing this, with more modern ML models like tree boosting, NB, and the MLP model generating better predictions, especially for the mixed parameter sets in run 3 and run 4.
The main strength of our study is the maintenance of transparency and comparability to existing models as well as between the different models, as our current approach examined established scoring systems with established statistical models in comparison to ML techniques. Nevertheless, the following limitations deserve to be mentioned. Our study was conducted at a single institution, which may limit the generalizability of our findings. Also, the retrospective and non-randomized nature of the analysis may introduce some selection bias and does not allow for causational interpretation of our results. Given the exclusion of non-survivors from our analysis, a bias towards patients with comparably good Hunt & Hess grades cannot be ruled out. However, this method is in line with previous studies on predictive factors for SDHC in aSAH and allows for comparability of our results to those reports [ 1 – 5 ]. A factor that may decrease comparability to other studies are variations in local treatment strategies concerning the timing or even the necessity to place a shunt after surgery. One may argue that true objective cut-offs for whether or when best to implant a shunt system do not exist. In our study, we adhered to an established protocol, as mentioned previously [ 2 , 9 ]. However, the retrospective nature of our study has limits in terms of adherence to this protocol which we did not examine within this analysis. Given that shunt rates described in the literature range widely between 7 and 67%, our rate of 28.8% reflects a reasonable value, which is comparable to shunt rates published in studies using the same protocol [ 1 – 5 , 9 ].
The fact that, in our study, the predictive capabilities of ML methods were comparable or better to the standard scores SDASH and CHESS suggests that future continual learning could one day enable the ML models to outmatch SDASH and CHESS. Once the superiority of ML prediction in SDHC after aSAH is reached, a randomized controlled trial will be necessary to validate these findings, before ML methods can become standard tools optimizing SDHC prediction in real time.
Conclusions
Our study is the first to present comparative data for SDHC prediction after aSAH for validated scores and state-of-the-art ML techniques. It suggests that ML models may enable clinicians to reliably predict the risk of SDHC based exclusively on admission data. Since early prediction of SDHC is key in aSAH management, future ML models could help optimize care for SDHC in aSAH by avoiding delays in clinical decision-making.
Previous presentations
An abstract of this paper was presented at the 73rd annual meeting of the German Neurosurgical Society (DGNC) in Cologne, Germany, in 2022.
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Author contribution
All authors contributed to the study conception and design. Material preparation, data collection, and analysis were performed by Dietmar Frey, Nora F. Dengler, Adam Hilbert, Anton Früh, Jenny Sommerfeld, Meike Unteroberdoerster, and Sophie Charlotte Brune. The first draft of the manuscript was written by Dietmar Frey and Nora Dengler, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.
Funding
Open Access funding enabled and organized by Projekt DEAL. ND was funded by the institutional Rahel Hirsch and Lydia Rabinowitsch scholarships, received public body funding for the project GoSafe (Horizon 2020), accepted speaker honoraria from Integra LifeSciences, and serves as an advisor for Alexion Pharmaceuticals.
DF reported receiving grants from the European Commission Horizon2020 PRECISE4Q No. 777107. No funding bodies had any role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Data availability
Data is available upon reasonable request.
Declarations
Ethical approval
This study was performed in line with the principles of the Declaration of Helsinki. Approval was granted by the Ethics Committee of Charité – Universitätsmedizin Berlin (EA1/291/14). As this is a retrospective collection of data, no consent to participate was necessary in accordance with our local ethical standards. No personal information in terms of images of any of the patients included in this study was published in this article.
Competing interests
DF reported receiving personal fees from and holding an equity interest in ai4medicine outside the submitted work. AH and TK reported receiving personal fees from ai4medicine outside the submitted work.
References
1. Chan M Alaraj A Calderon M Prediction of ventriculoperitoneal shunt dependency in patients with aneurysmal subarachnoid hemorrhage J Neurosurg 2009 110 1 44 49 10.3171/2008.5.17560 18950263
2. Diesing D Wolf S Sommerfeld J Sarrafzadeh A Vajkoczy P Dengler NF A novel score to predict shunt dependency after aneurysmal subarachnoid hemorrhage J Neurosurg 2018 128 5 1273 1279 10.3171/2016.12.JNS162400 28598279
3. Erixon HO Sorteberg A Sorteberg W Eide PK Predictors of shunt dependency after aneurysmal subarachnoid hemorrhage: results of a single-center clinical trial Acta Neurochir (Wien) 2014 156 11 2059 2069 10.1007/s00701-014-2200-z 25143185
4. Lin CL Kwan AL Howng SL Acute hydrocephalus and chronic hydrocephalus with the need of postoperative shunting after aneurysmal subarachnoid hemorrhage Kaohsiung J Med Sci 1999 15 3 137 145 10224837
5. Kang P Raya A Zipfel GJ Dhar R Factors associated with acute and chronic hydrocephalus in nonaneurysmal subarachnoid hemorrhage Neurocrit Care 2016 24 1 104 109 10.1007/s12028-015-0152-7 26136147
6. Wilson CD Safavi-Abbasi S Sun H Meta-analysis and systematic review of risk factors for shunt dependency after aneurysmal subarachnoid hemorrhage J Neurosurg 2017 126 2 586 595 10.3171/2015.11.JNS152094 27035169
7. Xie Z Hu X Zan X Lin S Li H You C Predictors of shunt-dependent hydrocephalus after aneurysmal subarachnoid hemorrhage? A systematic review and meta-analysis World Neurosurg 2017 106 844 860 e6 10.1016/j.wneu.2017.06.119 28652120
8. Garcia-Armengol R Puyalto de Pablo P Misis M Validation of shunt dependency prediction scores after aneurysmal spontaneous subarachnoid hemorrhage Acta Neurochir (Wien) 2021 10.1007/s00701-020-04688-w 33389122
9. Jabbarli R Bohrer AM Pierscianek D The CHESS score: a simple tool for early prediction of shunt dependency after aneurysmal subarachnoid hemorrhage Eur J Neurol 2016 23 5 912 918 10.1111/ene.12962 26918845
10. Esteva A Robicquet A Ramsundar B A guide to deep learning in healthcare Nat Med 2019 25 1 24 29 10.1038/s41591-018-0316-z 30617335
11. Beam AL Kohane IS Big data and machine learning in health care JAMA 2018 319 13 1317 1318 10.1001/jama.2017.18391 29532063
12. Dengler NF Madai VI Unteroberdorster M Outcome prediction in aneurysmal subarachnoid hemorrhage: a comparison of machine learning methods and established clinico-radiological scores Neurosurg Rev 2021 44 5 2837 2846 10.1007/s10143-020-01453-6 33474607 PMC8490233
13. Heo J Yoon JG Park H Kim YD Nam HS Heo JH Machine learning-based model for prediction of outcomes in acute stroke Stroke 2019 50 5 1263 1265 10.1161/STROKEAHA.118.024293 30890116
14. Mutke MA Madai VI Hilbert A Comparing poor and favorable outcome prediction with machine learning after mechanical thrombectomy in acute ischemic stroke Front Neurol 2022 13 737667 10.3389/fneur.2022.737667 35693017 PMC9184444
15. Martini ML Neifert SN Shuman WH Rescue therapy for vasospasm following aneurysmal subarachnoid hemorrhage: a propensity score-matched analysis with machine learning J Neurosurg 2022 136 1 134 147 10.3171/2020.12.JNS203778 34214980
16. Maldaner N Zeitlberger AM Sosnova M Development of a complication- and treatment-aware prediction model for favorable functional outcome in aneurysmal subarachnoid hemorrhage based on machine learning Neurosurgery 2021 88 2 E150 E157 10.1093/neuros/nyaa401 33017031
17. Escobar GJ Turk BJ Ragins A Piloting electronic medical record-based early detection of inpatient deterioration in community hospitals J Hosp Med 2016 11 Suppl 1 S18 S24 10.1002/jhm.2652 27805795 PMC5510649
18. Hunt WE Hess RM Surgical risk as related to time of intervention in the repair of intracranial aneurysms J Neurosurg 1968 28 1 14 20 10.3171/jns.1968.28.1.0014 5635959
19. Wilson DA Nakaji P Abla AA A simple and quantitative method to predict symptomatic vasospasm after subarachnoid hemorrhage based on computed tomography: beyond the Fisher scale Neurosurgery 2012 71 4 869 875 10.1227/NEU.0b013e318267360f 22801639
20. Bae IS Yi HJ Choi KS Chun HJ Comparison of incidence and risk factors for shunt-dependent hydrocephalus in aneurysmal subarachnoid hemorrhage patients J Cerebrovasc Endovasc Neurosurg 2014 16 2 78 84 10.7461/jcen.2014.16.2.78 25045646 PMC4102754
21. Steiner T Juvela S Unterberg A European Stroke Organization guidelines for the management of intracranial aneurysms and subarachnoid haemorrhage Cerebrovasc Dis 2013 35 2 93 112 10.1159/000346087 23406828
22. Diringer MN Bleck TP Claude Hemphill J 3rd Critical care management of patients following aneurysmal subarachnoid hemorrhage: recommendations from the Neurocritical Care Society’s Multidisciplinary Consensus Conference Neurocrit Care 2011 15 2 211 240 10.1007/s12028-011-9605-9 21773873
23. Tso MK Ibrahim GM Macdonald RL Predictors of shunt-dependent hydrocephalus following aneurysmal subarachnoid hemorrhage World Neurosurg 2016 86 226 232 10.1016/j.wneu.2015.09.056 26428322
24. Zihni E Madai VI Livne M Opening the black box of artificial intelligence for clinical decision support: a study predicting stroke outcome PLoS One 2020 15 4 e0231166 10.1371/journal.pone.0231166 32251471 PMC7135268
25. Miles J (2014) Tolerance and variance inflation factor. Wiley Stats: Ref: Statistics Reference online. (American Cancer Society)
26. Hosmer DW, Lemeshow S (2000) Applied logistic regression. Wiley Online Books. 2 nd edition, pp 156–164. 10.1002/0471722146
27. Mandrekar JN Mandrekar SJ Biostatistics: a toolkit for exploration, validation, and interpretation of clinical data J Thorac Oncol 2009 4 12 1447 1449 10.1097/JTO.0b013e3181c0a329 20009908 PMC2796575
28. Rudin C Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead Nat Mach Intell 2019 1 5 206 215 10.1038/s42256-019-0048-x 35603010 PMC9122117
29. Lakkaraju H Bach SH Jure L Interpretable decision sets: a joint framework for description and prediction KDD 2016 2016 1675 1684 10.1145/2939672.2939874 27853627 PMC5108651
30. Lipton ZC (2016) The mythos of model interpretability. arXiv 10.48550/arXiv.1606.03490
31. Lee CS Lee AY Clinical applications of continual learning machine learning Lancet Digit Health 2020 2 6 e279 e281 10.1016/S2589-7500(20)30102-3 33328120 PMC8259323
32. Antes AL Burrous S Sisk BA Exploring perceptions of healthcare technologies enabled by artificial intelligence: an online, scenario-based survey BMC Med Inform Decis Mak 2021 21 1 221 10.1186/s12911-021-01586-8 34284756 PMC8293482
33. Wiens J Saria S Sendak M Ghassemi M Do no harm: a roadmap for responsible machine learning for health care Nat Med 2019 25 9 1337 1340 10.1038/s41591-019-0548-6 31427808
34. Muscas G Matteuzzi T Becattini E Development of machine learning models to prognosticate chronic shunt-dependent hydrocephalus after aneurysmal subarachnoid hemorrhage Acta Neurochir (Wien) 2020 162 12 3093 3105 10.1007/s00701-020-04484-6 32642833 PMC7593274
35. Sorinola A Buki A Sandor J Czeiter E Risk factors of external ventricular drain infection: proposing a model for future studies Front Neurol 2019 10 226 10.3389/fneur.2019.00226 30930840 PMC6428739
36. Lenski M Biczok A Huge V Role of cerebrospinal fluid markers for predicting shunt-dependent hydrocephalus in patients with subarachnoid hemorrhage and external ventricular drain placement World Neurosurg 2019 121 e535 e542 10.1016/j.wneu.2018.09.159 30268545
37. de Oliveira JG Beck J Setzer M Risk of shunt-dependent hydrocephalus after occlusion of ruptured intracranial aneurysms by surgical clipping or endovascular coiling: a single-institution series and meta-analysis Neurosurgery 2007 61 5 924 33 10.1227/01.neu.0000303188.72425.24 18091269
38 Dorai Z Hynan LS Kopitnik TA Factors related to hydrocephalus after aneurysmal subarachnoid hemorrhage Neurosurgery 2003 52 4 763 9 10.1227/01.NEU.0000053222.74852.2D 12657171
39 Graff-Radford NR Torner J Adams HP Factors associated with hydrocephalus after subarachnoid hemorrhage. A report of the Cooperative Aneurysm Study Arch Neurol 1989 46 7 744 52 10.1001/archneur.1989.00520430038014 2742543
40. Kwon JH Sung SK Song YJ Predisposing factors related to shunt-dependent chronic hydrocephalus after aneurysmal subarachnoid hemorrhage J Korean Neurosurg Soc 2008 43 4 177 181 10.3340/jkns.2008.43.4.177 19096639 PMC2588257
41. Lai L Morgan MK Predictors of in-hospital shunt-dependent hydrocephalus following rupture of cerebral aneurysms J Clin Neurosci 2013 20 8 1134 1138 10.1016/j.jocn.2012.09.033 23517672
Предметные рубрики MeSH
Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Ошибки и ограничения
История · было → стало
Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.
Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.