Dynamic Detection of Delayed Cerebral Ischemia Using Machine Learning ===================================================================== * Murad Megjhani * Kalijah Terilli * Ayham Alkhachroum * David J. Roh * Sachin Agarwal * E. Sander Connolly, Jr * Angela Velazquez * Amelia Boehme * Jan Claassen * Soojin Park ## Abstract **Objective** To develop a machine learning based tool, using routine vital signs, to assess delayed cerebral ischemia (DCI) risk over time. **Methods** In this retrospective analysis, physiologic data for 540 consecutive acute subarachnoid hemorrhage patients were collected and annotated as part of a prospective observational cohort study between May 2006 and December 2014. Patients were excluded if (i) no physiologic data was available, (ii) they expired prior to the DCI onset window (< post bleed day 3) or (iii) early angiographic vasospasm was detected on admitting angiogram. DCI was prospectively labeled by consensus of treating physicians. Occurrence of DCI was classified using various machine learning approaches including logistic regression, random forest, support vector machine (linear and kernel), and an ensemble classifier, trained on vitals and subject characteristic features. Hourly risk scores were generated as the posterior probability at time *t*. We performed five-fold nested cross validation to tune the model parameters and to report the accuracy. All classifiers were evaluated for good discrimination using the area under the receiver operating characteristic curve (AU-ROC) and confusion matrices. **Results** Of 310 patients included in our final analysis, 101 (32.6%) patients developed DCI. We achieved maximal classification of 0.81 [0.75-0.82] AU-ROC. We also predicted 74.7 % of all DCI events 12 hours before typical clinical detection with a ratio of 3 true alerts for every 2 false alerts. **Conclusion** A data-driven machine learning based detection tool offered hourly assessments of DCI risk and incorporated new physiologic information over time. Key Words for Indexing * Delayed Cerebral Ischemia * Subarachnoid Hemorrhage * Vasospasm * Machine Learning * Critical Care * Neurocritical Care ## Introduction Delayed cerebral ischemia (DCI) is heavily linked with poor outcomes after aneurysmal subarachnoid hemorrhage (aSAH), and occurs in 21-33% of patients.1-3 DCI has been implicated as the most morbid secondary injury after aSAH, showing independent association with cognitive impairment.4 Despite the high impact on patient outcomes, there are many barriers to timely detection of DCI. Symptom onset can be subtle and develop gradually, and clinical diagnosis often relies on a change in exam, though 20% of DCI patients are asymptomatic.2 Physicians must surpass a certain threshold of suspicion to warrant the health risks of confirmatory testing (radiation exposure, laying patient flat), which includes ruling out clinical mimics.5 There is an opportunity for new technology to help improve the timely diagnosis of DCI. Transcranial doppler is the only non-invasive surveillance tool supported by guidelines, yet it is limited by poor sensitivity, poor inter-rater reliability and technician availability, also adequate insonation is not possible for 10-15% of patients.6,7 Continuous quantitative electroencephalogram (qEEG) has shown promising results for detecting DCI, however implementation requires 24 hour continuous EEG monitoring and clinical expert artifact reconciliation and event labeling.8,9 An optimal DCI monitoring tool would be continuous and automated, performing without reliance on expert or technician availability. In prior work, we featurized physiologic signals (heart rate, blood pressure, oxygen saturation) for the classification of DCI patients, reporting good prediction results (AUROC 0.78) that surpassed modified Fisher Scale alone (AUROC 0.54-0.58).10,11 While the success of these models supports the existence of a useful physiologic signal for DCI classification and improves precision of prediction for individuals, they incorporated information only from the first few days of admission and offer a static, one-time assessment of risk. With such a design, no insight can be offered regarding when DCI will develop within the large window of onset (3-21 days post-bleed). In the present study, we apply machine learning methods to develop algorithms utilizing routine, continuous physiologic information to detect when DCI becomes more or less likely to occur. Machine learning derived detection tools have been successfully developed and implemented in other areas of critical care, including but certainly not limited to: weaning in mechanically ventilated patients12, instability and risk of cardiac arrest in children13, hemodynamic shock 14, acute kidney injury 15,16 and extensively in sepsis17-20. We propose a data-driven DCI detection tool that offers hourly estimations of the patient’s current state, incorporating new physiologic information over time. If proven successful, such a model could be used to establish DCI onset time for better evaluation of proposed treatments and to improve patient care by acting as a trigger for confirmatory testing and subsequent timely intervention. ## Methods ### Study Population Patients with aneurysmal SAH consecutively admitted to the neurological intensive care unit (NICU) were prospectively enrolled in an observational cohort study which has been previously been described.21 Baseline demographics used for this study are *core* and *supplemental-highly recommended* National Institute of Neurological Disorders and Stroke (NINDS) common data elements (CDEs) for SAH subject characteristics: age, gender, ethnicity, tobacco use, hypertension history and premorbid modified Rankin Scale (mRS). Routinely collected grading scales of injury severity and outcome prediction were the *core* CDE: World Federation of Neurological Surgeons scale (WFNS), and the *supplemental* CDEs: modified Fisher Score (mFS), Hunt & Hess grade (HH) and Glasgow Coma Scale (GCS).22,23 Comorbidities taken into account for this study were cerebral edema, fever (>38.3°C), pulmonary edema, hydrocephalus, and seizure. Outcome variables were in-hospital mortality, length of stay in the NICU and modified Rankin Scale (mRS) at discharge, 3 months and 12 months post-discharge. The target classification outcome of the study was DCI, which was determined by consensus of attending physicians when patients met the following criteria: delayed neurological deterioration defined as a ≥ 2 point change in GCS or new focal neurological deficit lasting for > 1 hour and not associated with surgical treatment, and/or a new cerebral infarct on brain imaging which is not attributable to any other causes.24-26 Clinical management of SAH patients adhered to the Neurocritical Care Society and American Heart Association guidelines (**Appendix A**).1,16 All patients from this prospectively collected and annotated cohort were included in this retrospective analysis, unless they met one of the following exclusion criteria: no parametric physiologic data was available, they expired prior to the DCI onset window (< PBD 3), or early angiographic vasospasm was detected on admitting angiogram (as DCI development was the signal of interest). ### Physiologic Data Vitals data was collected using a high-resolution acquisition system (BedmasterEX; Excel Medical Electronics Inc, Jupiter, FL, USA) from General Electric Solar 8000i monitors (Port Washington, NY, USA; 2006-2014) at 0.2 Hz. Heart rate (HR), intracranial pressure (ICP), respiratory rate (RR), oxygen saturation (SPO2), systolic and diastolic arterial blood pressure (SBP, DBP) and temperature (TEMP) were extracted and analyzed using custom software developed in Matlab 2016a (Mathworks, Natick, MA). The large window for DCI presentation makes direct comparison across patients over time difficult. To address this, we use DCI diagnosis as the temporal anchor to align the data so that we can identify a physiologic signal as the disease develops, despite varied times of onset (**Appendix B**). Data for each physiologic measure was first rescaled to allow for comparison using min-max normalization.27 There were 20 total time-varying measures computed in 10-minute windows: mean and standard deviation (SD) for each of the seven vitals, and maximum cross-correlation (lag –30 to +30 seconds) of HR with each remaining six vital sign (ICP, RR, SPO2, SBP, DBP and TEMP). Summary statistics were only retained for segments with at least 50% of the data available. Finally, hourly averages were obtained, resulting in 336 time points over 14 days. Analysis was performed in Matlab 2016a (Mathworks, Natick, MA). ### Statistical analysis #### Comparison of Demographics Demographic data were summarized and compared for the DCI and control groups. Fisher’s exact test was applied to categorical variables, and the Mann-Whitney U test for two-group comparisons was applied to continuous variables. All statistical tests were two-tailed and *p*-value < 0.05 was considered statistically significant. Analysis was performed in R Studio software (version 1.0.143, [http://www.rstudio.com](http://www.rstudio.com), RStudio Inc., Boston, USA). #### Comparison of Vital Signs Multilevel linear regression was used to identify points of statistically significant difference between DCI+ and DCI– time series data. Windowing for each comparison was done using a cumulative strategy to mimic a clinically-relevant setting, so in the future information could be added over time as a prospective patient would continuously generate new data, see **Appendix C**. We employed a repeated-measures design in this study due to the repeated outcomes. Since the physiologic data were collected over time, we used a longitudinal mixed effects model to assess the relationship between DCI and the physiologic time series data. This method enabled us to model intra- and inter-patient variability. We applied the mixed-effects model for each outcome of interest, and assessed how the groups differed for the 14 days surrounding the DCI anchor. For more information about these models, see **Appendix C**. Statistical analysis was conducted using SAS (SAS Institute, Cary, NC). ### Machine Learning To translate our findings into a tool for classification, we applied an ensemble machine learning approach. We computed the range (max-min), mean, SD, median, IQR and entropy for each of the 20 vital sign measures and added 6 subject characteristic variables (age, sex, mFS, WFNS, HH and GCS at NICU admission), resulting in 126 total features. Missing values were imputed using the median. We used F-statistics to identify *k* number of best features explaining most variance within the dataset 28. We then built L2-regularized logistic regression (LR), linear and kernel support vector machine (SL, SK), random forest (RF), and ensemble (EC) classifiers for each day prior to the DCI anchor (**Appendix D**) 29. We performed nested five-fold cross-validation to tune model parameters and to report the accuracy. More details of how nested cross-validation is used to prevent over-fitting are provided in **Appendix E**. All classifiers were evaluated for good discrimination using the area under the receiver operating characteristic curve (AU-ROC) and confusion matrix. ### Hourly Risk Scores We generated hourly risk scores indicating current likelihood of DCI using the ensemble classifier at DCI anchor. Risk scores above the optimal cut off point (threshold) indicate higher probability of the patient developing DCI. Given a patient *i* the risk score at time *t* with features *x**it* is computed as a posterior probability given by: ![Formula][1] Where *f* is the classifier (EC). Machine learning models and risk scores were developed using the Python scikit-learn library.30 ## Data availability All relevant data are presented within the article and its supporting information files. Additional information can be obtained upon request to the corresponding author. ## Results ### Patient Cohort Clinical and physiological data was available for 540 consecutive SAH patients admitted to the NICU at Columbia University from May 2006 to December 2014. 156 patients met initial exclusion criteria: 27 patients showed vasospasm (VSP) on vessel imaging at NICU admission, aneurysm was not confirmed by angiogram for 98 patients and 31 patients died before entering the DCI window (before PBD 3). In addition, 74 patients displayed angiographic VSP without development of DCI and were removed from the final analysis (**Figure 1**). 310 patients were included in the final analysis for this study; 101 patients developed DCI while 209 patients did not develop DCI and were used as controls (DCI+ 32.6%, DCI– 67.4%). For DCI+ patients the mean PBD of the anchors was 7 ± 3 days (compared to 7 ± 0 days for the DCI– anchors), therefore on average the window used for analysis for all patients was the first 14 days post-bleed. Demographic statistical differences between groups are reported in **Table 1**. View this table: [Table 1.](http://medrxiv.org/content/early/2020/04/21/2020.04.15.20067041/T1) Table 1. Characteristics of SAH patients with and without DCI ![Figure 1:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/04/21/2020.04.15.20067041/F1.medium.gif) [Figure 1:](http://medrxiv.org/content/early/2020/04/21/2020.04.15.20067041/F1) Figure 1: Overview of the approach ### Multilevel Linear Regression Analysis At DCI anchor, hourly averages of mean HR, max cross-correlation of SPO2-HR and standard deviation of HR, RR and DBP were statistically different (p<0.001) (**Figure 2**). This statistical approach demonstrated additional significant between-group differences scattered across vitals and time-points. However, there was notable overlap in the distribution of data, indicating the need for more sophisticated methods to classify individual patients. ![Figure 2:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/04/21/2020.04.15.20067041/F2.medium.gif) [Figure 2:](http://medrxiv.org/content/early/2020/04/21/2020.04.15.20067041/F2) Figure 2: Comparison of Vital Sign Time Series. Multilevel linear regression is used to demonstrate significant differences (*) between DCI+ (red) and DCI– (green) patient vitals. The 20 variables included are mean and standard deviation (SD) of heart rate (HR), intracranial pressure (ICP), respiratory rate (RR), oxygen saturation (SPO2), systolic blood pressure (SBP), diastolic blood pressure (DBP), temperature (TEMP) and maximum cross-correlation of HR with each vital sign. Black vertical line represents DCI anchor. Time axis is a count of days before and after anchor. Number of patients with available data is plotted below each variable, across the same time axis. ### Predictive Models (Best Performing One Used to Generate the Hourly Risk Score) All classifiers trained on cumulative vitals features up to the DCI anchor performed better than characteristic features alone (**Figure 3A**). Maximal classification was achieved using all features (cumulative vitals + characteristic features), producing AU-ROCs: LR = 0.78 [0.71-0.80], SL = 0.76 [0.75-0.81], SK = 0.76 [0.70-0.78], RF = 0.81 [0.75-0.82] and EC = 0.79 [0.75-0.80]. The performance of classifiers trained with all data up to the anchor produced AU-ROCs: LR = 0.67 [0.66-0.69], SL = 0.65 [0.63-0.67], SK = 0.72 [0.67-0.74], RF = 0.74 [0.74-0.76] and EC = 0.75 [0.70-0.78] (**Table 2**). Classifier weights (LR, SL, RF) indicating the discriminative power of the features in separating the two classes are shown in **Appendix F**. View this table: [Table 2.](http://medrxiv.org/content/early/2020/04/21/2020.04.15.20067041/T2) Table 2. AU-ROCs for 5 classifiers at all time-points ![Figure 3:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/04/21/2020.04.15.20067041/F3.medium.gif) [Figure 3:](http://medrxiv.org/content/early/2020/04/21/2020.04.15.20067041/F3) Figure 3: Classifier performance and risk scores. (A) AU-ROCs for five classifiers (LR, SL, SK, RF and EC) trained on characteristic and vitals features at DCI anchor. Blue box indicates the IQR and white dotted lines are the median AU-ROCs. Best performing models are highlighted in red and the risk were generated using these models. Risk scores with based on the models created with (B) vital features alone and (C) characteristics + vitals are shown every 12 hours. The risk scores for DCI+ (red) and DCI- (green) were significantly different at all time-points. Black dotted line represents the optimal threshold (0.35). The median risk score for DCI-patients drops below the threshold 12 hours prior to anchor (D&E). ### Risk Scores We computed hourly risk scores using the EC classifiers with the highest performance before the DCI anchor, with (**Figure 3C**) and without characteristic features (**Figure 3B**). The optimal threshold (where true positive rate is high and the false positive rate is low) for EC was 0.35. DCI+ and DCI-risk scores are initially high. Over time DCI-patients’ scores drop below the threshold, while DCI+ patients’ scores remain above the threshold (**Figure 3D-E**). With a threshold of 0.35, our models predicted 72.6 % (with) and 74.7 % (without) of all DCI events 12 hours before typical clinical detection. In other words, about 3 true alerts for every 2 false alerts were generated. This threshold can be adjusted to reduce the false negative rate, however, this would be at the expense of a higher false positive rate. ## Discussion A cohort of 310 patients with aneurysmal SAH, prospectively collected and adjudicated for DCI between June 2006 and December 2014, were retrospectively analyzed and included in the final study. We generated hourly risk scores for the detection of DCI using machine learning models trained on physiologic time series data. DCI positive patients received high risk scores at 12 hours before diagnosis, and patients who did not develop DCI received low risk scores. There is an abundance of routinely collected physiological data generated in the NICU. To our knowledge, this is the first study in humans to apply a data-driven automated approach using vital sign time series data to produce hourly classifications of DCI after SAH. The current practice for DCI diagnosis is heavily reliant on availability of a useful exam in already neurologically injured patients (20% of SAH patients are comatose)31 as well as the attention and expertise of caregivers in the busy and diurnal hospital setting.32 An automated, continuous monitoring tool has the potential to provide new insight, and conveniently, our risk scores are derived from routinely collected vitals data (HR, ICP, RR, SPO2, SBP, DBP and TEMP). In this study we calculated cross-correlations to featurize the relationships between HR and the other vital signs. The cross-correlation method should support good generalizability across institutions; the statistic describes co-trending of vital signs rather than absolute values, which would be much more vulnerable to institutional protocol variation.33 Notably, a similar strategy was used to identify a preclinical signal in neonates who develop necrotizing enterocolitis or late-onset septicemia, diseases that likely share the cumulative deleterious inflammatory pathway in DCI.33 While the exact pathophysiology of DCI is multifactorial, vagal (parasympathetic) dysfunction 34,35 and inflammation 36-39 are recognized in the pathway, and intricately related to each other (the inflammatory reflex).40-45 It was therefore reasonable to expect that evidence of this mechanism could be accessed through routinely collected physiologic data. Initial efforts towards automated DCI classification showed that machine learning classifiers trained on simple summary statistics of passively-obtained vitals and lab information significantly out-performed classifiers trained on resource-intensive information such as TCDs and nursing exams.46 Later work combined time series analysis of vitals and more sophisticated machine learning methods 10,11 to discover hidden signals of patient state within continuous physiologic data. Each of these studies incorporated information from just the first few days post-bleed, and boosted prediction to 0.77–0.78 AU-ROC, surpassing the current gold standard for DCI prediction (mFS) at 0.54–0.58 AU-ROC. The success of these machine learning models supports the existence of a useful physiologic signal for the classification of patients with DCI, however these are still prediction models that do not provide an estimation of disease onset time. We were able to see similarly high AU-ROCs in our models trained on just the first few days of data, but as we included data sequentially closer to DCI onset, our model performance continued to increase. The risk scores also demonstrate the advantage of continuously adding data. Both DCI+ and DCI-patients begin with high risk scores, and as the patient state is updated the risk scores diverge over time. There are several limitations to this study. First, since the range of time to DCI onset after SAH is large, when we align patients by individual diagnosis, the amount of data before and after the anchor is inconsistent across patients. We tolerate this variation because alignment by the outcome event should maximize the information in the physiologic signal leading up to it, and our priority is to create models that can best capture this signal. Another limitation concerns generalizability. We applied nested fivefold cross-validation to avoid overfitting the data, but testing is needed on additional cohorts to sufficiently validate this model for generalizability. In future work we plan to apply these methods and include an external validation protocol with another institution. ## Conclusion DCI after SAH contributes to morbidity and mortality of NICU patients. Early detection of DCI before permanent secondary brain injury is a clinical goal in SAH patient management, in an effort to improve outcomes. We generated hourly risk scores for the detection of DCI using machine learning models trained on physiologic time series data and subject characteristics. DCI+ patients received high risk scores (above threshold) and DCI– patients received low risk scores (below threshold) before DCI anchor. Future efforts will focus on how to further improve the precision of DCI prediction, validating on external cohorts, and translating these metrics to real-time bedside displays to test their impact on outcomes in future clinical trials. ## Data Availability All relevant data are presented within the article and its supporting information files. Additional information can be obtained upon request to the corresponding author. ## Online Supplement ***Appendix A:*** Clinical Management of Subarachnoid Hemorrhage Patients ***Appendix B:*** Anchoring ***Appendix C***: Multilevel Linear Regression ***Appendix D***: Machine Learning ***Appendix E***: Nested Cross-Validation ***Appendix F***: Classifier Weights ## Footnotes * **Potential Conflicts-of-Interest/Disclosures:** Funding: This study was funded by National Institute of Health (NIH), grant number: NIEHS K01- ES026833-02 (SP) and American Heart Association grant number: 20POST35210653 (MM) * **Compliance with Ethical Standards:** Ethics approval and consent to participate: The study was approved by the Columbia University Medical Center Institutional Review Board. In all cases, written informed consent was obtained from the patient or a surrogate. * **Statistical Analysis:** conducted by Dr. Amelia Boehme and Dr. Murad Megjhani * **Study Funded:** by NIEHS K01-ES026833-02 (SP) * **Authors’ contributions:** Data Collection (KT, MM, SP, AV, DR, SA, JC), Analysis (MM, KT, SP, AB), Writing (KT, MM, SP, AA), Editing (All). * Received April 15, 2020. * Revision received April 15, 2020. * Accepted April 21, 2020. * © 2020, Posted by Cold Spring Harbor Laboratory The copyright holder for this pre-print is the author. All rights reserved. The material may not be redistributed, re-used or adapted without the author's permission. ## References 1. 1.Dorsch N. A clinical review of cerebral vasospasm and delayed ischaemia following aneurysm rupture. Acta Neurochir Suppl. 2011;110(Pt 1):5–6. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21125436&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000290247600001&link_type=ISI) 2. 2.Schmidt JM, Wartenberg KE, Fernandez A, et al. Frequency and clinical impact of asymptomatic cerebral infarction due to vasospasm after subarachnoid hemorrhage. J Neurosurg. 2008;109(6):1052–1059. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3171/JNS.2008.109.12.1052&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=19035719&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000261204500015&link_type=ISI) 3. 3.Francoeur CL, Mayer SA. Management of delayed cerebral ischemia after subarachnoid hemorrhage. Crit Care. 2016;20(1):277. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s13054-016-1447-46&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=27737684&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 4. 4.Eagles ME, Tso MK, Macdonald RL. Cognitive Impairment, Functional Outcome, and Delayed Cerebral Ischemia After Aneurysmal Subarachnoid Hemorrhage. World Neurosurg. 2019. 5. 5.Diringer MN, Bleck TP, Claude Hemphill J, 3rd, et al. 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. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s12028-011-9605-9&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21773873&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000295419400001&link_type=ISI) 6. 6.Tsivgoulis G, Alexandrov AV, Sloan MA. Advances in transcranial Doppler ultrasonography. Curr Neurol Neurosci Rep. 2009;9(1):46–54. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s11910-009-0008-7&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=19080753&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 7. 7.Mastantuono JM, Combescure C, Elia N, Tramer MR, Lysakowski C. Transcranial Doppler in the Diagnosis of Cerebral Vasospasm: An Updated Meta-Analysis. Crit Care Med. 2018;46(10):1665–1672. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 8. 8.Claassen J, Hirsch LJ, Kreiter KT, et al. Quantitative continuous EEG for detecting delayed cerebral ischemia in patients with poor-grade subarachnoid hemorrhage. Clin Neurophysiol. 2004;115(12):2699–2710. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.clinph.2004.06.017&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15546778&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 9. 9.Rosenthal ES, Biswal S, Zafar SF, et al. Continuous electroencephalography predicts delayed cerebral ischemia after subarachnoid hemorrhage: A prospective study of diagnostic accuracy. Ann Neurol. 2018;83(5):958–969. 10. 10.Park S, Megjhani M, Frey HP, et al. Predicting delayed cerebral ischemia after subarachnoid hemorrhage using physiological time series data. J Clin Monit Comput. 2018. 11. 11.Megjhani M, Terilli K, Frey HP, et al. Incorporating High-Frequency Physiologic Data Using Computational Dictionary Learning Improves Prediction of Delayed Cerebral Ischemia Compared to Existing Methods. Front Neurol. 2018;9:122. 12. 12.Kwong M. The efficacy and effectiveness of machine learning for weaning in mechanically ventilated patients at the intensive care unit: a systematic review - ORA - Oxford University Research Archive. 2019. 13. 13.Olive MK, Owens GE. Current monitoring and innovative predictive modeling to improve care in the pediatric cardiac intensive care unit. Transl Pediatr. 2018;7(2):120–128. 14. 14.Nagori A, Dhingra LS, Bhatnagar A, Lodha R, Sethi T. Predicting Hemodynamic Shock from Thermal Images using Machine Learning. Sci Rep. 2019;9(1):91. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41598-018-36586-8&link_type=DOI) 15. 15.Sutherland SM, Chawla LS, Kane-Gill SL, et al. Utilizing electronic health records to predict acute kidney injury risk and outcomes: workgroup statements from the 15(th) ADQI Consensus Conference. Can J Kidney Health Dis. 2016;3:11. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=26925247&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 16. 16.Mohamadlou H, Lynn-Palevsky A, Barton C, et al. Prediction of Acute Kidney Injury With a Machine Learning Algorithm Using Electronic Health Record Data. Can J Kidney Health Dis. 2018;5:2054358118776326. 17. 17.Horng S, Sontag DA, Halpern Y, Jernite Y, Shapiro NI, Nathanson LA. Creating an automated trigger for sepsis clinical decision support at emergency department triage using machine learning. In: PLoS One. Vol 12. 2017. 18. 18.Shimabukuro DW, Barton CW, Feldman MD, Mataraso SJ, Das R. Effect of a machine learning- based severe sepsis prediction algorithm on patient survival and hospital length of stay: a randomised clinical trial. In: BMJ Open Respir Res. Vol 4. 2017. 19. 19.Desautels T, Calvert J, Hoffman J, et al. Prediction of Sepsis in the Intensive Care Unit With Minimal Electronic Health Record Data: A Machine Learning Approach. In: JMIR Med Inform. Vol 4.2016. 20. 20.Gultepe E, Green JP, Nguyen H, Adams J, Albertson T, Tagkopoulos I. From vital signs to clinical outcomes for patients with sepsis: a machine learning basis for a clinical decision support system. In: J Am Med Inform Assoc. Vol 21. 2014:315–325. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1136/amiajnl-2013-001815&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=23959843&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 21. 21.Lantigua H, Ortega-Gutierrez S, Schmidt JM, et al. Subarachnoid hemorrhage: who dies, and why? In: Crit Care. Vol 19. 2015. 22. 22.Damani R, Mayer S, Dhar R, et al. Common Data Element for Unruptured Intracranial Aneurysm and Subarachnoid Hemorrhage: Recommendations from Assessments and Clinical Examination Workgroup/Subcommittee. Neurocrit Care. 2019; 30(Suppl 1):28–35. 23. 23.Suarez JI, Sheikh MK, Macdonald RL, et al. Common Data Elements for Unruptured Intracranial Aneurysms and Subarachnoid Hemorrhage Clinical Research: A National Institute for Neurological Disorders and Stroke and National Library of Medicine Project. Neurocrit Care. 2019;30(Suppl 1):4–19. 24. 24.Vergouwen MD, Vermeulen M, van Gijn J, et al. Definition of delayed cerebral ischemia after aneurysmal subarachnoid hemorrhage as an outcome event in clinical trials and observational studies: proposal of a multidisciplinary research group. Stroke. 2010;41(10):2391–2395. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6OToic3Ryb2tlYWhhIjtzOjU6InJlc2lkIjtzOjEwOiI0MS8xMC8yMzkxIjtzOjQ6ImF0b20iO3M6NTA6Ii9tZWRyeGl2L2Vhcmx5LzIwMjAvMDQvMjEvMjAyMC4wNC4xNS4yMDA2NzA0MS5hdG9tIjt9czo4OiJmcmFnbWVudCI7czowOiIiO30=) 25. 25.Al-Mufti F, Misiolek KA, Roh D, et al. White Blood Cell Count Improves Prediction of Delayed Cerebral Ischemia Following Aneurysmal Subarachnoid Hemorrhage. Neurosurgery. 2018. 26. 26.Connolly ES, Jr.., Rabinstein AA, Carhuapoma JR, et al. Guidelines for the management of aneurysmal subarachnoid hemorrhage: a guideline for healthcare professionals from the American Heart Association/american Stroke Association. Stroke. 2012;43(6):1711–1737. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6OToic3Ryb2tlYWhhIjtzOjU6InJlc2lkIjtzOjk6IjQzLzYvMTcxMSI7czo0OiJhdG9tIjtzOjUwOiIvbWVkcnhpdi9lYXJseS8yMDIwLzA0LzIxLzIwMjAuMDQuMTUuMjAwNjcwNDEuYXRvbSI7fXM6ODoiZnJhZ21lbnQiO3M6MDoiIjt9) 27. 27.Jiawei H, Jian P, Micheline K. Data Mining: Concepts and Techniques. 2019. 28. 28.Weir BS, Cockerham CC. ESTIMATING F-STATISTICS FOR THE ANALYSIS OF POPULATION STRUCTURE. Evolution. 1984;38(6):1358–1370. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.2307/2408641&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28563791&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1984TY40400017&link_type=ISI) 29. 29.Friedman J, Hastie T, Tibshirani R. The elements of statistical learning. Vol 1: Springer series in statistics New York; 2001. 30. 30.Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: Machine learning in Python. Journal of machine learning research. 2011;12(Oct):2825–2830. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1524/auto.2011.0951&link_type=DOI) 31. 31.Quintard H, Leduc S, Ferrari P, Petit I, Ichai C. Early and persistent high level of PS 100beta is associated with increased poor neurological outcome in patients with SAH: is there a PS 100beta threshold for SAH prognosis? Crit Care. 2016;20:33. 32. 32.Deshmukh H, Hinkley M, Dulhanty L, Patel HC, Galea JP. Effect of weekend admission on in- hospital mortality and functional outcomes for patients with acute subarachnoid haemorrhage (SAH). Acta Neurochir (Wien). 2016;158(5):829–835. 33. 33.Fairchild KD, Lake DE, Kattwinkel J, et al. Vital signs and their cross-correlation in sepsis and NEC: a study of 1,065 very-low-birth-weight infants in two NICUs. Pediatr Res. 2017;81(2):315–321. 34. 34.Schmidt JM, Sow D, Crimmins M, et al. Heart rate variability for preclinical detection of secondary complications after subarachnoid hemorrhage. Neurocritical care. 2014;20(3):382–389. 35. 35.Park S, Kaffashi F, Loparo KA, Jacono FJ. The use of heart rate variability for the early detection of treatable complications after aneurysmal subarachnoid hemorrhage. Journal of clinical monitoring and computing. 2013;27(4):385–393. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s10877-013-9467-0&link_type=DOI) 36. 36.de Oliveira Manoel AL, Macdonald RL. Neuroinflammation as a Target for Intervention in Subarachnoid Hemorrhage. Front Neurol. 2018;9:292. 37. 37.Provencio JJ. Inflammation in subarachnoid hemorrhage and delayed deterioration associated with vasospasm: a review. Acta neurochirurgica Supplement. 2013;115:233–238. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=22890674&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 38. 38.Lucke-Wold BP, Logsdon AF, Manoranjan B, et al. Aneurysmal Subarachnoid Hemorrhage and Neuroinflammation: A Comprehensive Review. Int J Mol Sci. 2016;17(4):497. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3390/ijms17040497&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=27049383&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 39. 39.Macdonald RL. Delayed neurological deterioration after subarachnoid haemorrhage. Nat Rev Neurol. 2014;10(1):44–58. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/nrneurol.2013.246&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=24323051&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 40. 40.Fujii T, Mashimo M, Moriwaki Y, et al. Expression and Function of the Cholinergic System in Immune Cells. Front Immunol. 2017;8:1085. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3389/fimmu.2017.01085&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28932225&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 41. 41.Bernik TR, Friedman SG, Ochani M, et al. Pharmacological stimulation of the cholinergic antiinflammatory pathway. J Exp Med. 2002;195(6):781–788. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6MzoiamVtIjtzOjU6InJlc2lkIjtzOjk6IjE5NS82Lzc4MSI7czo0OiJhdG9tIjtzOjUwOiIvbWVkcnhpdi9lYXJseS8yMDIwLzA0LzIxLzIwMjAuMDQuMTUuMjAwNjcwNDEuYXRvbSI7fXM6ODoiZnJhZ21lbnQiO3M6MDoiIjt9) 42. 42.Wang H, Yu M, Ochani M, et al. Nicotinic acetylcholine receptor alpha7 subunit is an essential regulator of inflammation. Nature. 2003;421(6921):384–388. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/nature01339&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12508119&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000180533000045&link_type=ISI) 43. 43.Rosas-Ballina M, Olofsson PS, Ochani M, et al. Acetylcholine-synthesizing T cells relay neural signals in a vagus nerve circuit. Science. 2011;334(6052):98–101. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6Mzoic2NpIjtzOjU6InJlc2lkIjtzOjExOiIzMzQvNjA1Mi85OCI7czo0OiJhdG9tIjtzOjUwOiIvbWVkcnhpdi9lYXJseS8yMDIwLzA0LzIxLzIwMjAuMDQuMTUuMjAwNjcwNDEuYXRvbSI7fXM6ODoiZnJhZ21lbnQiO3M6MDoiIjt9) 44. 44.Tracey KJ. The inflammatory reflex. Nature. 2002;420(6917):853–859. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/nature01321&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12490958&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000179897300066&link_type=ISI) 45. 45.Cooper TM, McKinley PS, Seeman TE, Choo TH, Lee S, Sloan RP. Heart rate variability predicts levels of inflammatory markers: Evidence for the vagal anti-inflammatory pathway. Brain Behav Immun. 2015;49:94–100. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.bbi.2014.12.017&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=25541185&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F04%2F21%2F2020.04.15.20067041.atom) 46. 46.Roederer A, Holmes JH, Smith MJ, Lee I, Park S. Prediction of significant vasospasm in aneurysmal subarachnoid hemorrhage using automated data. Neurocritical care. 2014;21(3):444–450. [1]: /embed/graphic-1.gif