<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id><journal-id journal-id-type="publisher-id">medinform</journal-id><journal-id journal-id-type="index">7</journal-id><journal-title>JMIR Medical Informatics</journal-title><abbrev-journal-title>JMIR Med Inform</abbrev-journal-title><issn pub-type="epub">2291-9694</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v12i1e49142</article-id><article-id pub-id-type="doi">10.2196/49142</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Prediction of In-Hospital Cardiac Arrest in the Intensive Care Unit: Machine Learning&#x2013;Based Multimodal Approach</article-title></title-group><contrib-group><contrib contrib-type="author" equal-contrib="yes"><name name-style="western"><surname>Lee</surname><given-names>Hsin-Ying</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib><contrib contrib-type="author" equal-contrib="yes"><name name-style="western"><surname>Kuo</surname><given-names>Po-Chih</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Qian</surname><given-names>Frank</given-names></name><degrees>MPH, MD</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Li</surname><given-names>Chien-Hung</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Hu</surname><given-names>Jiun-Ruey</given-names></name><degrees>MPH, MD</degrees><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Hsu</surname><given-names>Wan-Ting</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Jhou</surname><given-names>Hong-Jie</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff7">7</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chen</surname><given-names>Po-Huang</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff8">8</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lee</surname><given-names>Cho-Hao</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff9">9</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Su</surname><given-names>Chin-Hua</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff10">10</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Liao</surname><given-names>Po-Chun</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff10">10</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wu</surname><given-names>I-Ju</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff10">10</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Lee</surname><given-names>Chien-Chang</given-names></name><degrees>MD, ScD</degrees><xref ref-type="aff" rid="aff10">10</xref><xref ref-type="aff" rid="aff11">11</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Medicine, College of Medicine, National Taiwan University</institution>, <addr-line>Taipei</addr-line>, <country>Taiwan</country></aff><aff id="aff2"><institution>Department of Computer Science, National Tsing Hua University</institution>, <addr-line>Hsinchu</addr-line>, <country>Taiwan</country></aff><aff id="aff3"><institution>Section of Cardiovascular Medicine, Boston Medical Center</institution>, <addr-line>Boston</addr-line><addr-line>MA</addr-line>, <country>United States</country></aff><aff id="aff4"><institution>Section of Cardiovascular Medicine, Boston University Chobanian &#x0026; Avedisian School of Medicine</institution>, <addr-line>Boston</addr-line><addr-line>MA</addr-line>, <country>United States</country></aff><aff id="aff5"><institution>Department of Internal Medicine, Yale School of Medicine</institution>, <addr-line>New Haven</addr-line><addr-line>CT</addr-line>, <country>United States</country></aff><aff id="aff6"><institution>Department of Epidemiology, Harvard T.H. Chan School of Public Health</institution>, <addr-line>Boston</addr-line><addr-line>MA</addr-line>, <country>United States</country></aff><aff id="aff7"><institution>Department of Neurology, Changhua Christian Hospital</institution>, <addr-line>Changhua</addr-line>, <country>Taiwan</country></aff><aff id="aff8"><institution>Department of Internal Medicine, Tri-Service General Hospital, National Defense Medical Center</institution>, <addr-line>Taipei</addr-line>, <country>Taiwan</country></aff><aff id="aff9"><institution>Division of Hematology and Oncology Medicine, Department of Internal Medicine, Tri-Service General Hospital, National Defense Medical Center</institution>, <addr-line>Taipei</addr-line>, <country>Taiwan</country></aff><aff id="aff10"><institution>Department of Emergency Medicine, National Taiwan University Hospital</institution>, <addr-line>No. 7, Zhongshan S Rd, Zhongzheng District</addr-line><addr-line>Taipei</addr-line>, <country>Taiwan</country></aff><aff id="aff11"><institution>Department of Information Management, Ministry of Health and Welfare</institution>, <addr-line>Taipei</addr-line>, <country>Taiwan</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Lovis</surname><given-names>Christian</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Sun</surname><given-names>Ran</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Tiwari</surname><given-names>Sarthak</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Hou</surname><given-names>Tianling</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Chien-Chang Lee, MD, ScD, Department of Emergency Medicine, National Taiwan University Hospital, No. 7, Zhongshan S Rd, Zhongzheng District, Taipei, 100, Taiwan, 886 0223123456; <email>hit3transparency@gmail.com</email></corresp><fn fn-type="equal" id="equal-contrib1"><label>*</label><p>these authors contributed equally</p></fn></author-notes><pub-date pub-type="collection"><year>2024</year></pub-date><pub-date pub-type="epub"><day>23</day><month>7</month><year>2024</year></pub-date><volume>12</volume><elocation-id>e49142</elocation-id><history><date date-type="received"><day>19</day><month>05</month><year>2023</year></date><date date-type="rev-recd"><day>11</day><month>02</month><year>2024</year></date><date date-type="accepted"><day>23</day><month>04</month><year>2024</year></date></history><copyright-statement>&#x00A9; Hsin-Ying Lee, Po-Chih Kuo, Frank Qian, Chien-Hung Li, Jiun-Ruey Hu, Wan-Ting Hsu, Hong-Jie Jhou, Po-Huang Chen, Cho-Hao Lee, Chin-Hua Su, Po-Chun Liao, I-Ju Wu, Chien-Chang Lee. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 23.7.2024. </copyright-statement><copyright-year>2024</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org/">https://medinform.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://medinform.jmir.org/2024/1/e49142"/><abstract><sec><title>Background</title><p>Early identification of impending in-hospital cardiac arrest (IHCA) improves clinical outcomes but remains elusive for practicing clinicians.</p></sec><sec><title>Objective</title><p>We aimed to develop a multimodal machine learning algorithm based on ensemble techniques to predict the occurrence of IHCA.</p></sec><sec sec-type="methods"><title>Methods</title><p>Our model was developed by the Multiparameter Intelligent Monitoring of Intensive Care (MIMIC)&#x2013;IV database and validated in the Electronic Intensive Care Unit Collaborative Research Database (eICU-CRD). Baseline features consisting of patient demographics, presenting illness, and comorbidities were collected to train a random forest model. Next, vital signs were extracted to train a long short-term memory model. A support vector machine algorithm then stacked the results to form the final prediction model.</p></sec><sec sec-type="results"><title>Results</title><p>Of 23,909 patients in the MIMIC-IV database and 10,049 patients in the eICU-CRD database, 452 and 85 patients, respectively, had IHCA. At 13 hours in advance of an IHCA event, our algorithm had already demonstrated an area under the receiver operating characteristic curve of 0.85 (95% CI 0.815&#x2010;0.885) in the MIMIC-IV database. External validation with the eICU-CRD and National Taiwan University Hospital databases also presented satisfactory results, showing area under the receiver operating characteristic curve values of 0.81 (95% CI 0.763-0.851) and 0.945 (95% CI 0.934-0.956), respectively.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>Using only vital signs and information available in the electronic medical record, our model demonstrates it is possible to detect a trajectory of clinical deterioration up to 13 hours in advance. This predictive tool, which has undergone external validation, could forewarn and help clinicians identify patients in need of assessment to improve their overall prognosis.</p></sec></abstract><kwd-group><kwd>cardiac arrest</kwd><kwd>machine learning</kwd><kwd>intensive care</kwd><kwd>mortality</kwd><kwd>medical emergency team</kwd><kwd>early warning scores</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>The prognosis of in-hospital cardiac arrest (IHCA) is poor as it represents the culmination of heterogeneous multi-organ dysfunction, with few treatments [<xref ref-type="bibr" rid="ref1">1</xref>]. IHCA has an incidence of 9 to 10 per 1000 admissions and a mortality rate of 80%&#x2010;100% [<xref ref-type="bibr" rid="ref2">2</xref>]. Therefore, clinical guidelines emphasize the urgent need for early identification of patients at risk for IHCA [<xref ref-type="bibr" rid="ref3">3</xref>]. Early warning scores were developed to facilitate early identification of impending clinical deterioration and trigger rapid interventions [<xref ref-type="bibr" rid="ref4">4</xref>]. However, many traditional early warning scores are limited by considerable variation in discrimination in different populations and are often not sufficiently sensitive [<xref ref-type="bibr" rid="ref5">5</xref>].</p><p>Recent research indicates that the implementation of the electronic Cardiac Arrest Risk Triage (eCART) score has significantly decreased the incidence of IHCA at UChicago Medicine [<xref ref-type="bibr" rid="ref6">6</xref>]. However, the inclusion of laboratory data in eCART substantially diminishes the practicality and immediacy of this scoring system. Moreover, other studies have reported that calculating the Modified Early Warning Score (MEWS) 0.5 hours before a cardiac arrest can significantly increase the survival-to-discharge rate in patients experiencing IHCA [<xref ref-type="bibr" rid="ref7">7</xref>]. Nonetheless, a 0.5-hour lead time is often insufficient for a prompt reaction during a patient&#x2019;s rapid deterioration. Given the continuously generated real-time information, such as vital signs, a time-varying model could be constructed for more timely and early identification of IHCA.</p><p>The aim of our study was to develop a recurrent neural network&#x2013;based model using the electronic health records (EHRs) of a single tertiary medical center to predict incident IHCA. We hypothesized that variations in physiological parameters, evaluated in the context of known comorbidities, could help to predict incident cardiac arrest. We also aimed to validate the model in an independent cohort and compare it to a previous scoring system.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Ethics Approval</title><p>Given the retrospective study design, the Research Ethics Committee of the National Taiwan University Hospital (NTUH) approved this study (project approval 202206108RINB) and waived the requirement for obtaining informed consent.</p></sec><sec id="s2-2"><title>Data Source</title><p>Predictive models were developed using the Multiparameter Intelligent Monitoring of Intensive Care (MIMIC)&#x2013;IV v0.4 database and were externally validated using the Electronic Intensive Care Unit Collaborative Research Database (eICU-CRD) v2.0 [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>]. Pre-existing institutional review board approval was waived given the deidentified nature of this public data set (Massachusetts Institute of Technology: 0403000206; Beth Israel Deaconess Medical Center: 2001-P-001699/14) [<xref ref-type="bibr" rid="ref8">8</xref>]. One author who completed the Collaborative Institutional Training Initiative examination (certificate 57186438 for author HJJ) obtained access to the database and performed the data extraction. To assess the performance of our model in practical applications, we collected clinical data from the electronic medical records of the NTUH, spanning from 2008 to 2018. To decrease patient heterogeneity and feature variability, we applied the same inclusion criteria and data processing workflow to the 3 databases. We extracted data on patients older than 20 years who were hospitalized in intensive care units (ICUs) for at least 24 hours. Patients were excluded if they were encoded with a deceased status but without an IHCA labeling defined as below. We employed 5-fold cross-validation in our training cohort, randomly dividing the data set into 5 equally sized subsets. Four of these folds (80% of the MIMIC-IV cohort) were used for training, while the remaining fold (20% of the MIMIC-IV cohort) was reserved for internal validation. Performance metrics were recorded for each iteration, resulting in five distinct performance scores. These scores were then averaged to derive a singular more robust performance estimate for the model. Finally, external validation was performed on the entire eICU-CRD cohort.</p></sec><sec id="s2-3"><title>Disease Outcome Ascertainment</title><p>In the MIMIC-IV cohort, patients were marked with IHCA if they were either labeled with a time-stamped database-specific procedure code (22,5466 cardiac arrest) or diagnosed with the <italic>International Classi&#xFB01;cation of Diseases, Ninth Revision</italic> (<italic>ICD-9</italic>), Procedure Coding System (PCS) code 9960 (cardiopulmonary resuscitation, not otherwise specified). Although the MIMIC-IV database contained both <italic>ICD-9</italic> and <italic>International Statistical Classification of Diseases, Tenth Revision</italic> (<italic>ICD-10</italic>) codes, we did not convert <italic>ICD-9</italic>-PCS code 9960 to the <italic>ICD-10</italic>-PCS code, as the most approximately equivalent indicated code 5A1.2012 (performance of cardiac output, single, manual) represented variable definitions. For the eICU-CRD cohort, patients were classified with IHCA if they either presented with a time-stamped database-specific procedure note indicating cardiopulmonary resuscitation or were administered epinephrine, either as a bolus of 1 mg/10 ml or an infusion rate of 30 mg/250 ml at 100 ml/hr, with an associated administration time. In both the MIMIC-IV and eICU-CRD cohorts, the control group was defined as patients who were not labeled as having experienced an IHCA or being deceased, and the reference time was set as the ICU discharge time. For IHCA patients with multiple labelings, we only selected the time of the first label as the reference time. The data collection method in the NTUH database involves identifying patients with specific <italic>ICD</italic> codes (<italic>ICD-9</italic> 427.5; <italic>ICD-10</italic> T46.2, 145.8, 146.9). Patients who have been diagnosed with the aforementioned codes followed by the initiation of cardiopulmonary resuscitation or bolus epinephrine injection will be classified as patients who experienced IHCA.</p></sec><sec id="s2-4"><title>Data Curation and Features Extraction</title><p>Two types of features were extracted: time-independent baseline features and time-varying physiologic readings from bedside monitors. Baseline features, which are variables registered at the time of admission, consisted of three types: (1) demographic information such as gender, age, ethnicity, type of ICU admission, and BMI; (2) chronic comorbidities, as identified by combined comorbidity score and Elixhauser Comorbidity Index [<xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref11">11</xref>]; (3) presenting illness, as identified by <italic>ICD</italic> codes for acute cardiac disease, respiratory insufficiency, sepsis, and potential reversible causes of cardiac arrest, popularly known as the <italic>H</italic>&#x2019;s (hyperkalemia, hypokalemia, hypothermia, hypoxemia, hypovolemia, hydrogen ion, eg, acidosis) and <italic>T</italic>&#x2019;s (spontaneous tension pneumothorax, thrombosis, cardiac tamponade) by resuscitation guidelines [<xref ref-type="bibr" rid="ref12">12</xref>]. Physiologic readings, which consisted of 6 vital signs: heart rate (HR), respiratory rate, O<sub>2</sub> saturation (SpO<sub>2</sub>), systolic blood pressure (sBP), diastolic blood pressure, and mean arterial pressure, were extracted on an hourly basis. For all patients, vital signs in the 24 hours prior to the reference time were recorded. To balance model utility with adequate accuracy, we only investigated the risk of cardiac arrest starting from 13 hours prior to the event. To overcome the time series&#x2019; irregularity, specific rules were applied to combine multiple vital signs in the same hour (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). The remaining missing values in vital signs were filled with the last observation carried forward method. To eliminate the misguidance of our imbalanced data set, we tested the two following remedies: synthetic minority oversampling technique (SMOTE) and near miss algorithm [<xref ref-type="bibr" rid="ref13">13</xref>,<xref ref-type="bibr" rid="ref14">14</xref>]. We employed SMOTE in the following training with a nearest neighbor interpolation of 1 as it yielded a better performance compared to the near miss algorithm (Figure S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). After applying SMOTE, the numbers of IHCA patients and control patients were equal, signifying data balance.</p></sec><sec id="s2-5"><title>Model Development</title><p>Our predictive model was encoded in three layers (<xref ref-type="fig" rid="figure1">Figure 1</xref>). First, random forest (RF) was responsible for classifying the baseline features [<xref ref-type="bibr" rid="ref15">15</xref>]. For hyperparameter optimization, the number of estimators was set to 5, the maximum depth was set to 20, and Gini impurity was used to determine the split. Nodes are expanded until all leaves contain fewer than 2 samples [<xref ref-type="bibr" rid="ref16">16</xref>]. Second, recurrent neural network with the long short-term memory (LSTM) architecture stored the vital signs trajectories in an hourly pattern [<xref ref-type="bibr" rid="ref17">17</xref>]. There were 3 hidden layers and 8 cells each, with a tangent and a sigmoid activation function. The learning rate was set to 0.001, and a dropout rate of 0.4 was applied for regularization [<xref ref-type="bibr" rid="ref18">18</xref>]. The Adam algorithm was adapted for optimizing network weights [<xref ref-type="bibr" rid="ref19">19</xref>]. Last, the support vector machine (SVM) with a radial basis function kernel integrates the RF and LSTM models to generate the final prediction. The SVM predicts the identical target outcome by learning the relationship between the predictions from two base models (RF and LSTM) and the target outcomes in the training set [<xref ref-type="bibr" rid="ref20">20</xref>]. All the models were implemented in Python 3.8.3 (Python Software Foundation) with TensorFlow 2.1.0, pandas 1.1.2, scikit-learn 0.24.2, and NumPy 1.19.1 libraries.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Illustration of the modeling framework. Each patient&#x2019;s data from the electronic health record were used as input for our model. Four preprocessing steps are carried out on the vital signs to obtain fixed-interval data. All features go through SMOTE to overcome data imbalance and are split into training and testing groups. Baseline features are inputted to random forest, and vital signs are inputted into LSTM for prediction. Support vector machine then integrates both models. AUROC: area under the receiver operating characteristic curve; LSTM: long short-term memory; SHAP: Shapley Additive Explanations.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v12i1e49142_fig01.png"/></fig></sec><sec id="s2-6"><title>Evaluation Strategy</title><p>To identify the perfect algorithm, the following machine learning (ML) techniques were evaluated in terms of prediction performance. First, based on the baseline data&#x2019;s time independency and binary structure, logistic regression (LR), <italic>k</italic>-nearest neighbor (KNN), extreme gradient boosting (XGBoost) tree, and SVM were compared with RF for model fitness. In the LR model, we applied an L2 penalty with a stopping tolerance set at 1e-4, and the model underwent a maximum of 100 iterations. For the KNN algorithm, we set the parameter K to 2, utilizing Euclidean distance as the chosen metric. In the XGBoost model, the number of estimators was configured to 5 with a maximum depth of 5 and a learning rate of 0.1. Hyperparameter optimization was carried out through a grid search. In the SVM, we used a radial basis function with an L2 penalty, setting the regularization parameter to 1. The SVM model was executed with a stopping tolerance of 1e-3, and no limit was imposed on the maximum number of iterations. For the time-dependent vital signs trajectories, the incorporation of memory gates in LSTM indicates its superiority in handling long sequence data. Thus, no other model comparison was made. To compare different stacking techniques, LR was also implemented for comparison with SVM. Last, as we aim to use neural networks to accommodate our feature&#x2019;s complexity, we connected this 3-layer model by engaging a deep neural network in baseline data prediction and final stacking. The hyperparameters of the deep neural network were set at an epoch of 30, batch size of 24, and the Adam algorithm as optimizer. Model performance was assessed based on discrimination and calibration using the internal validation cohort, as quantified by the area under the receiver operating characteristic curve (AUROC) with mean values and 95% CIs [<xref ref-type="bibr" rid="ref21">21</xref>]. Sensitivity and specificity metrics are presented by two binary classifications, including a predefined threshold of 0.5 and an optimal cutoff determined by the Youden index [<xref ref-type="bibr" rid="ref22">22</xref>]. We used the Brier score to assess accuracy and visualized calibration curves across deciles based on observed and expected cardiac arrest numbers [<xref ref-type="bibr" rid="ref23">23</xref>].</p></sec><sec id="s2-7"><title>Model Interpretation</title><p>The importance of baseline features in the RF model was ranked based on &#x201C;gain,&#x201D; the cumulative improvement in accuracy of the nodes attributed to a specific feature. To focus more on the local impact of each vital sign at the patient level, we employed the Shapley Additive Explanations (SHAP) method to explain how our LSTM model makes predictions during a specific timepoint [<xref ref-type="bibr" rid="ref24">24</xref>].</p></sec><sec id="s2-8"><title>Comparison With Previous Prediction Score</title><p>The Cardiac Arrest Risk Triage (CART), a commonly used cardiac arrest prediction model, was calculated to put the prediction results in perspective with prior studies [<xref ref-type="bibr" rid="ref25">25</xref>]. A previously described &#x201C;early warning score efficiency curve&#x201D; was created to compare CART and our prediction model [<xref ref-type="bibr" rid="ref26">26</xref>]. By plotting the percentage of detected events within 13 hours followed by the observations above the predefined threshold, a 0.5 probability in our model, and a score of 20 in the CART model, we could demonstrate the changes of cumulative incidence as the event time approached. Due to the large number of missing data for temperature and neurological status in our development cohort, we were unable to compare our risk prediction tool against the MEWS or Acute Physiology and Chronic Health Evaluation.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Patient Characteristics</title><p>A total of 34,633 patients in the MIMIC-IV database and 79,643 patients in the eICU-CRD database were included in our analysis. After processing the vital signs data, a total of 452 IHCA patients and 23,457 control patients from MIMIC-IV were used for model development, whereas 85 IHCA patients and 9964 control patients from eICU-CRD were used for external validation. Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> shows the baseline characteristics of the IHCA group and the control group for the two cohorts. IHCA patients were significantly older (<italic>P</italic>&#x003C;.001) and scored higher on combined comorbidity scores and the Elixhauser Comorbidity Index. In terms of presenting illness, myocardial infarction, pneumonia, respiratory failure, and the 5 <italic>H</italic>&#x2019;s and 5 <italic>T</italic>&#x2019;s were more prevalent in IHCA patients than among control patients.</p></sec><sec id="s3-2"><title>Prediction From Time-Independent Data</title><p>Patient demographics, comorbidities, and presenting illness were first classified by RF. <xref ref-type="fig" rid="figure2">Figure 2</xref> demonstrates the discrimination of the RF model (AUROC 0.80, 95% CI 0.779&#x2010;0.844; sensitivity 0.71; specificity 0.78; <italic>F</italic><sub>1</sub>-score 0.79. The top five important features listed by RF include the presence of respiratory failure or acidosis, comorbid uncomplicated hypertension, comorbid fluid and electrolyte disorder, and initial ICU being the cardiac ICU.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Prediction from baseline features. (A) AUROC for evaluating the discriminatory ability of random forest on baseline features. (B) Feature importance derived from the random forest model. AUROC: area under the receiver operating characteristic curve.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v12i1e49142_fig02.png"/></fig></sec><sec id="s3-3"><title>Modeling of Time-Dependent Data</title><p>The trajectories of six vital signs were modeled with respect to time. Figure S2 A in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> illustrates that in the MIMIC-IV cohort, the control group exhibited a constant value of all six vital signs throughout the 24-hour collecting period. However, the vital signs of the IHCA patients were characterized by progressive deterioration in the last several hours. Of note, throughout the 24-hour monitoring period, patients who developed cardiac arrest exhibited, on average, a 12-mmHg lower sBP, 1.5% lower SpO<sub>2</sub>, and a 9-bpm higher resting HR compared to the control group. However, the exact timing of the start of deterioration could not be clearly marked on the plot. A similar vital signs trajectory was seen in the eICU-CRD cohort (Figure S2 B in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></sec><sec id="s3-4"><title>Prediction From Time-Dependent Data</title><p>The hourly AUROC values for predicting cardiac arrest are presented in Figure S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, which shows the results after SMOTE and cross-validation. A steady rise in AUROC was observed in the hours leading up to cardiac arrest with a sharp increase in the preceding 3 hours.</p></sec><sec id="s3-5"><title>Performance of the SVM-Based Stacking Model</title><p>In the final step of model construction, we stacked the LSTM model with the RF model and combined both predictions from baseline features and vital signs. AUROCs of the stacked model exhibited consistently better predictions compared with the baseline and vital signs&#x2013;only model, with the highest AUROC of 0.91 (95% CI 0.874&#x2010;0.935), sensitivity of 0.80, specificity of 0.86, and <italic>F</italic><sub>1</sub>-score of 0.85 1 hour prior to the event. Further evaluation of the stacked model presented an increase in sensitivity, specificity, negative predictive value, and <italic>F</italic><sub>1</sub>-score by the reduction of the time interval (<xref ref-type="fig" rid="figure3">Figure 3</xref>). However, the calibration plot showed a risk of overestimation and a steadily low Brier score throughout the 13 hours of prediction time (Figure S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Additionally, in Figure S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, we compared the model performance using different cutoffs. We found that the optimal cutoff defined by the Youden index (at 13 hours: 0.29; at 12 hours: 0.25; at 11 hours: 0.38; at 10 hours: 0.25; at 9 hours: 0.28; at 8 hours: 0.26; at 7 hours: 0.28; at 6 hours: 0.30; at 5 hours: 0.26; at 4 hours: 0.38; at 3 hours: 0.30; at 2 hours: 0.34; at 1 hour: 0.35) presented with a better sensitivity compared with the predefined 0.5 cutoff; the largest difference was 14% at 12 hours prior to the event.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Performance of the stacked model in the Multiparameter Intelligent Monitoring of Intensive Care (MIMIC)&#x2013;IV database. AUROCs (95% CIs) of the long short-term memory (LSTM) model with vital signs as input (orange plot), RF model with baseline features as input (gray plot), and stacked model after integration of RF and LSTM (blue plot) are shown. The three models&#x2019; exact AUROCs, sensitivity, specificity, NPV, and <italic>F</italic><sub>1</sub>-score of the stacked model are listed in the table. AUROC: area under the receiver operating characteristic curve; NPV: negative predictive value; RF: random forest.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v12i1e49142_fig03.png"/></fig></sec><sec id="s3-6"><title>External Validation</title><p>We performed external validation of the stacked model in the eICU-CRD database. The results showed the best performance at 1 hour prior to IHCA with an AUROC of 0.89 (95% CI 0.849&#x2010;0.920), sensitivity of 0.79, specificity of 0.83, and an <italic>F</italic><sub>1</sub>-score of 0.81. These findings align closely with the AUROC obtained from the MIMIC-IV data set (<xref ref-type="fig" rid="figure4">Figure 4</xref>). To further validate our model in an actual clinical scenario, we identified 1935 IHCA patients and 3692 control patients from the ICU of the NTUH. Additionally, our model demonstrated high prediction sensitivity and an AUROC of 0.945 when predicting IHCA 1 hour prior to its occurrence (<xref ref-type="fig" rid="figure5">Figure 5</xref>).</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Performance of the stacked model in the Electronic Intensive Care Unit Collaborative Research Database (eICU-CRD). External validation of the stacked model is performed on the eICU-CRD. AUROC (95% CI) is plotted in a blue line; sensitivity is plotted in a gray line. AUROC: area under the receiver operating characteristic curve.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v12i1e49142_fig04.png"/></fig><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>Performance of the stacked model in the clinical scenario. External validation of the stacked model is performed using data from 1935 in-hospital cardiac arrest patients and 3692 control patients collected from the National Taiwan University Hospital. AUROC is plotted in a blue line; sensitivity is plotted in a gray line. AUROC: area under the receiver operating characteristic curve.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v12i1e49142_fig05.png"/></fig></sec><sec id="s3-7"><title>Local Interpretation of the LSTM Model</title><p>We adopted the SHAP method to enable model explanation from an individual patient&#x2019;s perspective. In each box, SHAP values for specific vital signs are assigned, with positive SHAP values in red indicating a risk factor and negative SHAP values in blue indicating a protective factor. Figure S6 A in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> represents a patient from the MIMIC-IV database experiencing IHCA at 0 hours. As IHCA approaches, an increase in sBP from its average contributes to an elevated risk, with the most significant effect occurring 6 hours prior to IHCA. However, at 1 hour before IHCA, the most significant risk becomes a decrease in sBP from its average. Figure S6 B in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> illustrates another IHCA patient from the eICU-CRD database. In contrast to Figure S6 A in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, the most prominent feature at 1 hour prior to IHCA is a decrease in HR and SpO<sub>2</sub> from its baseline value. These figures showcase diverse presentations leading to IHCA in various patients, providing a valuable guideline for medical staff to identify the specific organ failure responsible for IHCA. The significance lies in enabling a swift response, incorporating timely interventions such as intubation for saturation drop and the administration of inotropic agents for decreased sBP. This approach ensures that medical staff will not delay necessary treatments while determining the cause of IHCA.</p></sec><sec id="s3-8"><title>Performance Compared With Different ML and Deep Learning Algorithms</title><p>Conventional statistics and supervised ML algorithms were compared to predict IHCA using only baseline features. RF demonstrated superior performance in terms of AUROC compared with XGBoost, LR, KNN, and SVM (Figure S7 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). SVM also presented preferable results during the stacking operation compared with LR throughout the 13-hour prediction period. AUROCs at 1 hour prior to the incidence of IHCA were 0.91 versus 0.80 (Figure S8 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Finally, using a neural network to connect baseline, vital signs, and stacking predictions did not reveal an improving outcome (Figure S9 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). After comparing several algorithms and combinations, RF, LSTM, and SVM predictions still yielded the most satisfactory results.</p></sec><sec id="s3-9"><title>Detection Efficacy Compared to Previous Prediction Score</title><p>We compared the performance of our proposed model to that of the CART score. Overall, our model demonstrated better AUROC throughout the prediction period (Figure S10 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). As illustrated in Figure S11 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, it is evident that at 12 hours prior to cardiac arrest, our model was able to detect over 70% of patients at risk for IHCA, compared to the CART score that did not surpass a 65% detection rate even 1 hour prior to IHCA.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>In this retrospective study of 34,633 patients in the MIMIC-IV database, we constructed a high-performance multimodal model (AUROC 0.91, 95% CI 0.874&#x2010;0.935) that can predict IHCA up to 13 hours in advance using EHRs and high-resolution time series physiological readings. As the time of cardiac arrest approached, our model yielded a steady increase in the detection rate, finally reaching 89% 1 hour prior to the event. We also illustrated the impact of each vital sign on the prediction of cardiac arrest associated with individual patients through the use of SHAP values. Furthermore, we demonstrated the advantage of this ML algorithm over the CART score, which was derived using traditional regression models.</p></sec><sec id="s4-2"><title>Comparison to Prior Work</title><p>As a ubiquitous activity in the hospital, several studies have demonstrated the importance of vital signs measurement in determining a patient&#x2019;s disease course [<xref ref-type="bibr" rid="ref27">27</xref>]. Diastolic blood pressure, respiratory rate, and maximum HR have all been found to be significant and independent predictors of cardiac arrest [<xref ref-type="bibr" rid="ref28">28</xref>]. However, maintaining a minimal model with only vital signs or adding lab data as predictors at the cost of decreasing model adaptability remains a dilemma [<xref ref-type="bibr" rid="ref29">29</xref>,<xref ref-type="bibr" rid="ref30">30</xref>]. The lactic acid level is the most representative laboratory biomarker in circulatory failure but had a high rate of missingness in the MIMIC-IV database (16,317/23,909, 68.2%). This motivated us to abandon utilizing lab results and assess if a nimbler model could be constructed with vital signs trends alone, overlaying the easily obtainable <italic>ICD</italic> codes and patient demographics as baseline features. Unsurprisingly, a significant increase in AUROC was discovered by adding demographics and comorbidities to the vital signs&#x2013;only model. Furthermore, an SVM-based stacked model can address the predictive capabilities of underlying conditions and dynamic changes during disease deterioration. Stacking proves advantageous by compensating for the weaknesses of both models, with RF potentially struggling with highly correlated data and LSTM excelling in handling timely intricate information.</p></sec><sec id="s4-3"><title>Distinct Advantages of Our Approach</title><p>The reason for not establishing an end-to-end neural network throughout the prediction stood out, as supervised ML algorithms retained the ability to determine the importance of each predictor and have better model explainability. Moreover, in the ensemble technique, stacking excels over both boosting and bagging due to its versatility in integrating diverse data domains and combining various types of models. Late fusion at the model level is also preferred over other fusion methods for mitigating feature discrepancies and enabling independent model training between the time-independent baseline and time-dependent vital signs. Additionally, the outperformance of SVM over LR in the stacking operation could be attributed to better data handling using the nonlinear kernel function. To evaluate the external validity of our model, we tested it on two distinct data sets&#x2014;the eICU-CRD and NTUH databases&#x2014;both representing patient groups with diverse ethnicities and disease backgrounds. Over a 10-year duration, we identified 1935 (34.3%) IHCA cases in NTUH. In contrast to prior IHCA prediction studies, such as Kwon et al&#x2019;s [<xref ref-type="bibr" rid="ref31">31</xref>] 2.3% (n=1233) over 7 years, Chae et al&#x2019;s [<xref ref-type="bibr" rid="ref32">32</xref>] 1.3% (n=1154) over 4 years, and Ding et al&#x2019;s [<xref ref-type="bibr" rid="ref33">33</xref>] 23.09% over 5 years (n=1796), our clinical database demonstrated a higher IHCA incidence yet fewer cases [<xref ref-type="bibr" rid="ref31">31</xref>-<xref ref-type="bibr" rid="ref33">33</xref>]. This disparity is attributed to our ICU-focused validation database, in contrast to earlier studies that encompassed all patients who were hospitalized. Consequently, our approach ensures heightened data precision and a more nuanced understanding of patient dynamics through continuous monitoring within this critically ill cohort. Nevertheless, our high prediction quality in both independent databases ensures the credibility of our model across various demographic groups and subpopulations. The consistent performance across these data sets not only minimizes the possibility of overfitting but also validates the generalizability of our predictions.</p></sec><sec id="s4-4"><title>Limitations of Our Methodology</title><p>Our study had limitations because we used data collected from one medical center. First, due to the nature of EHRs, we were unable to determine the reason for the multi-scale gaps and different frequencies of each input. Second, we did not include clinical interventions, body temperature, and mental status in our model. Clinical interventions may change the disease course or even terminate the deterioration process. Nevertheless, the complexity of the treatment record and the high frequency of missing values in temperature and mental status compelled us to omit these valuable predictors. Third, our identification of IHCA relied on time-labeled database-specific procedure codes, <italic>ICD</italic> procedure codes, or administration of epinephrine in resuscitation dosages. In real-time clinical scenarios, delays in data entry may occur as documentation is considered secondary to patient care. Additionally, the accuracy of these codes is often operator dependent and may vary across different ICU policies. To minimize recording biases, we manually reviewed all IHCA vital signs data and only included reasonable measurements, ensuring that the identified IHCA timepoints correlated with the worst patient vital signs.</p></sec><sec id="s4-5"><title>Conclusion</title><p>We built a multimodal ML model based on time serial vital signs and three types of baseline features, which were all easily accessible in the ICU. Our model showed high accuracy in detecting clinical deterioration leading to the development of IHCA up to 13 hours in advance in both the internal and external validation cohorts. A model like this could be integrated into a hospital&#x2019;s EHR system to identify high-risk patients and provide clinical decision support.</p></sec></sec></body><back><ack><p>This study was funded by grant MOST-110-2622-8-002-017. No funding bodies had any role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.</p></ack><notes><sec><title>Data Availability</title><p>The data sets analyzed during this study are available in the Multiparameter Intelligent Monitoring of Intensive Care&#x2013;IV repository [<xref ref-type="bibr" rid="ref34">34</xref>] and Electronic Intensive Care Unit Collaborative Research Database repository [<xref ref-type="bibr" rid="ref35">35</xref>].</p></sec></notes><fn-group><fn fn-type="con"><p>CCL has full access to all the data in the study and takes responsibility for the integrity of the data and the accuracy of the data analysis, concept and design, critical revision of the manuscript for important intellectual content, obtaining funding, and supervision. HYL, PCK, FQ, HJJ, PHC, CH Lee, and IJW were responsible for drafting the manuscript, interpretation of the data, and critical revision of the manuscript for important intellectual content. CH Li was responsible for statistical analysis. JRH and WTH were responsible for the interpretation of the data and critical revision of the manuscript for important intellectual content. All authors read and approved the final manuscript.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AUROC</term><def><p>area under the receiver operating characteristic curve</p></def></def-item><def-item><term id="abb2">CART</term><def><p>Cardiac Arrest Risk Triage</p></def></def-item><def-item><term id="abb3">eCART</term><def><p>electronic Cardiac Arrest Risk Triage</p></def></def-item><def-item><term id="abb4">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb5">eICU-CRD</term><def><p>Electronic Intensive Care Unit Collaborative Research Database</p></def></def-item><def-item><term id="abb6">HR</term><def><p>heart rate</p></def></def-item><def-item><term id="abb7"><italic>ICD-9</italic></term><def><p><italic>International Classi&#xFB01;cation of Diseases, Ninth Revision</italic></p></def></def-item><def-item><term id="abb8"><italic>ICD-10</italic></term><def><p><italic>International Statistical Classification of Diseases, Tenth Revision</italic></p></def></def-item><def-item><term id="abb9">ICU</term><def><p>intensive care unit</p></def></def-item><def-item><term id="abb10">IHCA</term><def><p>in-hospital cardiac arrest</p></def></def-item><def-item><term id="abb11">KNN</term><def><p><italic>k</italic>-nearest neighbor</p></def></def-item><def-item><term id="abb12">LR</term><def><p>logistic regression</p></def></def-item><def-item><term id="abb13">LSTM</term><def><p>long short-term memory</p></def></def-item><def-item><term id="abb14">MEWS</term><def><p>Modified Early Warning Score</p></def></def-item><def-item><term id="abb15">MIMIC</term><def><p>Multiparameter Intelligent Monitoring of Intensive Care</p></def></def-item><def-item><term id="abb16">ML</term><def><p>machine learning</p></def></def-item><def-item><term id="abb17">NTUH</term><def><p>National Taiwan University Hospital</p></def></def-item><def-item><term id="abb18">PCS</term><def><p>Procedure Coding System</p></def></def-item><def-item><term id="abb19">RF</term><def><p>random forest</p></def></def-item><def-item><term id="abb20">sBP</term><def><p>systolic blood pressure</p></def></def-item><def-item><term id="abb21">SHAP</term><def><p>Shapley Additive Explanations</p></def></def-item><def-item><term id="abb22">SMOTE</term><def><p>synthetic minority oversampling technique</p></def></def-item><def-item><term id="abb23">SpO<sub>2</sub></term><def><p>O<sub>2</sub> saturation</p></def></def-item><def-item><term id="abb24">SVM</term><def><p>support vector machine</p></def></def-item><def-item><term id="abb25">XGBoost</term><def><p>extreme gradient boosting</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sinha</surname><given-names>SS</given-names> </name><name name-style="western"><surname>Sukul</surname><given-names>D</given-names> </name><name name-style="western"><surname>Lazarus</surname><given-names>JJ</given-names> </name><etal/></person-group><article-title>Identifying important gaps in randomized controlled trials of adult cardiac arrest treatments: a systematic review of the published literature</article-title><source>Circ Cardiovasc Qual Outcomes</source><year>2016</year><month>11</month><volume>9</volume><issue>6</issue><fpage>749</fpage><lpage>756</lpage><pub-id pub-id-type="doi">10.1161/CIRCOUTCOMES.116.002916</pub-id><pub-id pub-id-type="medline">27756794</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Holmberg</surname><given-names>MJ</given-names> </name><name name-style="western"><surname>Ross</surname><given-names>CE</given-names> </name><name name-style="western"><surname>Fitzmaurice</surname><given-names>GM</given-names> </name><etal/></person-group><article-title>Annual incidence of adult and pediatric in-hospital cardiac arrest in the United States</article-title><source>Circ Cardiovasc Quality Outcomes</source><year>2019</year><month>07</month><day>9</day><volume>12</volume><issue>7</issue><fpage>e005580</fpage><pub-id pub-id-type="doi">10.1161/CIRCOUTCOMES.119.005580</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Morrison</surname><given-names>LJ</given-names> </name><name name-style="western"><surname>Neumar</surname><given-names>RW</given-names> </name><name name-style="western"><surname>Zimmerman</surname><given-names>JL</given-names> </name><etal/></person-group><article-title>Strategies for improving survival after in-hospital cardiac arrest in the United States: 2013 consensus recommendations: a consensus statement from the American Heart Association</article-title><source>Circulation</source><year>2013</year><month>04</month><day>9</day><volume>127</volume><issue>14</issue><fpage>1538</fpage><lpage>1563</lpage><pub-id pub-id-type="doi">10.1161/CIR.0b013e31828b2770</pub-id><pub-id pub-id-type="medline">23479672</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sp&#x00E5;ngfors</surname><given-names>M</given-names> </name><name name-style="western"><surname>Molt</surname><given-names>M</given-names> </name><name name-style="western"><surname>Samuelson</surname><given-names>K</given-names> </name></person-group><article-title>In-hospital cardiac arrest and preceding National Early Warning Score (NEWS): a retrospective case-control study</article-title><source>Clin Med (Lond)</source><year>2020</year><month>01</month><volume>20</volume><issue>1</issue><fpage>55</fpage><lpage>60</lpage><pub-id pub-id-type="doi">10.7861/clinmed.2019-0137</pub-id><pub-id pub-id-type="medline">31941734</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Smith</surname><given-names>GB</given-names> </name><name name-style="western"><surname>Prytherch</surname><given-names>DR</given-names> </name><name name-style="western"><surname>Schmidt</surname><given-names>PE</given-names> </name><name name-style="western"><surname>Featherstone</surname><given-names>PI</given-names> </name></person-group><article-title>Review and performance evaluation of aggregate weighted &#x2018;track and trigger&#x2019; systems</article-title><source>Resuscitation</source><year>2008</year><month>05</month><volume>77</volume><issue>2</issue><fpage>170</fpage><lpage>179</lpage><pub-id pub-id-type="doi">10.1016/j.resuscitation.2007.12.004</pub-id><pub-id pub-id-type="medline">18249483</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bartkowiak</surname><given-names>B</given-names> </name><name name-style="western"><surname>Snyder</surname><given-names>AM</given-names> </name><name name-style="western"><surname>Benjamin</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Validating the electronic cardiac arrest risk triage (eCART) score for risk stratification of surgical inpatients in the postoperative setting: retrospective cohort study</article-title><source>Ann Surg</source><year>2019</year><month>06</month><volume>269</volume><issue>6</issue><fpage>1059</fpage><lpage>1063</lpage><pub-id pub-id-type="doi">10.1097/SLA.0000000000002665</pub-id><pub-id pub-id-type="medline">31082902</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wang</surname><given-names>AY</given-names> </name><name name-style="western"><surname>Fang</surname><given-names>CC</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>SC</given-names> </name><name name-style="western"><surname>Tsai</surname><given-names>SH</given-names> </name><name name-style="western"><surname>Kao</surname><given-names>WF</given-names> </name></person-group><article-title>Periarrest Modified Early Warning Score (MEWS) predicts the outcome of in-hospital cardiac arrest</article-title><source>J Formos Med Assoc</source><year>2016</year><month>02</month><volume>115</volume><issue>2</issue><fpage>76</fpage><lpage>82</lpage><pub-id pub-id-type="doi">10.1016/j.jfma.2015.10.016</pub-id><pub-id pub-id-type="medline">26723861</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Goldberger</surname><given-names>AL</given-names> </name><name name-style="western"><surname>Amaral</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Glass</surname><given-names>L</given-names> </name><etal/></person-group><article-title>PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals</article-title><source>Circulation</source><year>2000</year><month>06</month><day>13</day><volume>101</volume><issue>23</issue><fpage>E215</fpage><lpage>E220</lpage><pub-id pub-id-type="doi">10.1161/01.cir.101.23.e215</pub-id><pub-id pub-id-type="medline">10851218</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pollard</surname><given-names>TJ</given-names> </name><name name-style="western"><surname>Johnson</surname><given-names>AEW</given-names> </name><name name-style="western"><surname>Raffa</surname><given-names>JD</given-names> </name><name name-style="western"><surname>Celi</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Mark</surname><given-names>RG</given-names> </name><name name-style="western"><surname>Badawi</surname><given-names>O</given-names> </name></person-group><article-title>The eICU Collaborative Research Database, a freely available multi-center database for critical care research</article-title><source>Sci Data</source><year>2018</year><month>09</month><day>11</day><volume>5</volume><fpage>180178</fpage><pub-id pub-id-type="doi">10.1038/sdata.2018.178</pub-id><pub-id pub-id-type="medline">30204154</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gagne</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Glynn</surname><given-names>RJ</given-names> </name><name name-style="western"><surname>Avorn</surname><given-names>J</given-names> </name><name name-style="western"><surname>Levin</surname><given-names>R</given-names> </name><name name-style="western"><surname>Schneeweiss</surname><given-names>S</given-names> </name></person-group><article-title>A combined comorbidity score predicted mortality in elderly patients better than existing scores</article-title><source>J Clin Epidemiol</source><year>2011</year><month>07</month><volume>64</volume><issue>7</issue><fpage>749</fpage><lpage>759</lpage><pub-id pub-id-type="doi">10.1016/j.jclinepi.2010.10.004</pub-id><pub-id pub-id-type="medline">21208778</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Elixhauser</surname><given-names>A</given-names> </name><name name-style="western"><surname>Steiner</surname><given-names>C</given-names> </name><name name-style="western"><surname>Harris</surname><given-names>DR</given-names> </name><name name-style="western"><surname>Coffey</surname><given-names>RM</given-names> </name></person-group><article-title>Comorbidity measures for use with administrative data</article-title><source>Med Care</source><year>1998</year><month>01</month><volume>36</volume><issue>1</issue><fpage>8</fpage><lpage>27</lpage><pub-id pub-id-type="doi">10.1097/00005650-199801000-00004</pub-id><pub-id pub-id-type="medline">9431328</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Soar</surname><given-names>J</given-names> </name><name name-style="western"><surname>Nolan</surname><given-names>JP</given-names> </name><name name-style="western"><surname>B&#x00F6;ttiger</surname><given-names>BW</given-names> </name><etal/></person-group><article-title>European Resuscitation Council Guidelines for Resuscitation 2015: Section 1. Executive summary</article-title><source>Resuscitation</source><year>2015</year><month>10</month><volume>95</volume><fpage>1</fpage><lpage>80</lpage><pub-id pub-id-type="doi">10.1016/j.resuscitation.2015.07.016</pub-id><pub-id pub-id-type="medline">26477410</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Blagus</surname><given-names>R</given-names> </name><name name-style="western"><surname>Lusa</surname><given-names>L</given-names> </name></person-group><article-title>SMOTE for high-dimensional class-imbalanced data</article-title><source>BMC Bioinformatics</source><year>2013</year><month>03</month><day>22</day><volume>14</volume><fpage>106</fpage><pub-id pub-id-type="doi">10.1186/1471-2105-14-106</pub-id><pub-id pub-id-type="medline">23522326</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Mani</surname><given-names>I</given-names> </name></person-group><article-title>KNN approach to unbalanced data distributions: a case study involving information extraction</article-title><access-date>2024-07-12</access-date><conf-name>International Conference on Machine Learning (ICML 2003), Workshop on Learning from Imbalanced Data Sets</conf-name><conf-date>Aug 21, 2003</conf-date><conf-loc>Washington, DC</conf-loc><comment><ext-link ext-link-type="uri" xlink:href="https://www.scirp.org/reference/ReferencesPapers?ReferenceID=1603053">https://www.scirp.org/reference/ReferencesPapers?ReferenceID=1603053</ext-link></comment></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liaw</surname><given-names>A</given-names> </name><name name-style="western"><surname>Wiener</surname><given-names>M</given-names> </name></person-group><article-title>Classi&#xFB01;cation and regression by randomForest</article-title><source>R News</source><year>2002</year><month>12</month><access-date>2024-07-12</access-date><volume>2/3</volume><comment><ext-link ext-link-type="uri" xlink:href="https://journal.r-project.org/articles/RN-2002-022/RN-2002-022.pdf">https://journal.r-project.org/articles/RN-2002-022/RN-2002-022.pdf</ext-link></comment></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bergstra</surname><given-names>J</given-names> </name><name name-style="western"><surname>Bengio</surname><given-names>Y</given-names> </name></person-group><article-title>Random search for hyper-parameter optimization</article-title><source>J Machine Learning Res</source><year>2012</year><month>02</month><access-date>2024-07-12</access-date><volume>13</volume><fpage>281</fpage><lpage>305</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf">https://www.jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf</ext-link></comment></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hochreiter</surname><given-names>S</given-names> </name><name name-style="western"><surname>Schmidhuber</surname><given-names>J</given-names> </name></person-group><article-title>Long short-term memory</article-title><source>Neural Comput</source><year>1997</year><month>11</month><day>1</day><volume>9</volume><issue>8</issue><fpage>1735</fpage><lpage>1780</lpage><pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id><pub-id pub-id-type="medline">9117894</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Srivastava</surname><given-names>N</given-names> </name><name name-style="western"><surname>Hinton</surname><given-names>G</given-names> </name><name name-style="western"><surname>Krizhevsky</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sutskever</surname><given-names>I</given-names> </name><name name-style="western"><surname>Salakhutdinov</surname><given-names>R</given-names> </name></person-group><article-title>Dropout: a simple way to prevent neural networks from over&#xFB01;tting</article-title><source>J Machine Learning Res</source><year>2014</year><month>06</month><access-date>2024-07-12</access-date><volume>15</volume><fpage>1929</fpage><lpage>1958</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.cs.toronto.edu/~rsalakhu/papers/srivastava14a.pdf">https://www.cs.toronto.edu/~rsalakhu/papers/srivastava14a.pdf</ext-link></comment></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="preprint"><person-group person-group-type="author"><name name-style="western"><surname>Kingma</surname><given-names>DP</given-names> </name><name name-style="western"><surname>Ba</surname><given-names>J</given-names> </name></person-group><article-title>Adam: a method for stochastic optimization</article-title><source>arXiv</source><access-date>2021-02-16</access-date><comment>Preprint posted online on  Jan 30, 2017</comment><comment><ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/1412.6980">http://arxiv.org/abs/1412.6980</ext-link></comment></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wang</surname><given-names>J</given-names> </name><name name-style="western"><surname>Feng</surname><given-names>K</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>J</given-names> </name></person-group><article-title>SVM-based deep stacking networks</article-title><source>Proc AAAI Conference Artif Intelligence</source><year>2019</year><month>07</month><day>17</day><volume>33</volume><issue>1</issue><fpage>5273</fpage><lpage>5280</lpage><pub-id pub-id-type="doi">10.1609/aaai.v33i01.33015273</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Moons</surname><given-names>KGM</given-names> </name><name name-style="western"><surname>Altman</surname><given-names>DG</given-names> </name><name name-style="western"><surname>Reitsma</surname><given-names>JB</given-names> </name><etal/></person-group><article-title>Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD): explanation and elaboration</article-title><source>Ann Intern Med</source><year>2015</year><month>01</month><day>6</day><volume>162</volume><issue>1</issue><fpage>W1</fpage><lpage>W73</lpage><pub-id pub-id-type="doi">10.7326/M14-0698</pub-id><pub-id pub-id-type="medline">25560730</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ruopp</surname><given-names>MD</given-names> </name><name name-style="western"><surname>Perkins</surname><given-names>NJ</given-names> </name><name name-style="western"><surname>Whitcomb</surname><given-names>BW</given-names> </name><name name-style="western"><surname>Schisterman</surname><given-names>EF</given-names> </name></person-group><article-title>Youden index and optimal cut-point estimated from observations affected by a lower limit of detection</article-title><source>Biom J</source><year>2008</year><month>06</month><volume>50</volume><issue>3</issue><fpage>419</fpage><lpage>430</lpage><pub-id pub-id-type="doi">10.1002/bimj.200710415</pub-id><pub-id pub-id-type="medline">18435502</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rolke</surname><given-names>W</given-names> </name><name name-style="western"><surname>Gongora</surname><given-names>CG</given-names> </name></person-group><article-title>A chi-square goodness-of-fit test for continuous distributions against a known alternative</article-title><source>Comput Stat</source><year>2020</year><month>05</month><day>14</day><volume>36</volume><fpage>1885</fpage><lpage>1900</lpage><pub-id pub-id-type="doi">10.1007/s00180-020-00997-x</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="preprint"><person-group person-group-type="author"><name name-style="western"><surname>Lundberg</surname><given-names>SM</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SI</given-names> </name></person-group><article-title>A unified approach to interpreting model predictions</article-title><source>arXiv</source><access-date>2024-07-02</access-date><comment>Preprint posted online on  Nov 25, 2017</comment><comment><ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1705.07874">https://arxiv.org/abs/1705.07874</ext-link></comment></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Churpek</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Yuen</surname><given-names>TC</given-names> </name><name name-style="western"><surname>Park</surname><given-names>SY</given-names> </name><name name-style="western"><surname>Meltzer</surname><given-names>DO</given-names> </name><name name-style="western"><surname>Hall</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Edelson</surname><given-names>DP</given-names> </name></person-group><article-title>Derivation of a cardiac arrest prediction model using ward vital signs*</article-title><source>Crit Care Med</source><year>2012</year><month>07</month><volume>40</volume><issue>7</issue><fpage>2102</fpage><lpage>2108</lpage><pub-id pub-id-type="doi">10.1097/CCM.0b013e318250aa5a</pub-id><pub-id pub-id-type="medline">22584764</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Smith</surname><given-names>GB</given-names> </name><name name-style="western"><surname>Prytherch</surname><given-names>DR</given-names> </name><name name-style="western"><surname>Meredith</surname><given-names>P</given-names> </name><name name-style="western"><surname>Schmidt</surname><given-names>PE</given-names> </name><name name-style="western"><surname>Featherstone</surname><given-names>PI</given-names> </name></person-group><article-title>The ability of the National Early Warning Score (NEWS) to discriminate patients at risk of early cardiac arrest, unanticipated intensive care unit admission, and death</article-title><source>Resuscitation</source><year>2013</year><month>04</month><volume>84</volume><issue>4</issue><fpage>465</fpage><lpage>470</lpage><pub-id pub-id-type="doi">10.1016/j.resuscitation.2012.12.016</pub-id><pub-id pub-id-type="medline">23295778</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Smith</surname><given-names>GB</given-names> </name></person-group><article-title>Vital signs: vital for surviving in-hospital cardiac arrest?</article-title><source>Resuscitation</source><year>2016</year><month>01</month><volume>98</volume><fpage>A3</fpage><lpage>4</lpage><pub-id pub-id-type="doi">10.1016/j.resuscitation.2015.10.010</pub-id><pub-id pub-id-type="medline">26597106</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Churpek</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Yuen</surname><given-names>TC</given-names> </name><name name-style="western"><surname>Huber</surname><given-names>MT</given-names> </name><name name-style="western"><surname>Park</surname><given-names>SY</given-names> </name><name name-style="western"><surname>Hall</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Edelson</surname><given-names>DP</given-names> </name></person-group><article-title>Predicting cardiac arrest on the wards: a nested case-control study</article-title><source>Chest</source><year>2012</year><month>05</month><volume>141</volume><issue>5</issue><fpage>1170</fpage><lpage>1176</lpage><pub-id pub-id-type="doi">10.1378/chest.11-1301</pub-id><pub-id pub-id-type="medline">22052772</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kennedy</surname><given-names>CE</given-names> </name><name name-style="western"><surname>Aoki</surname><given-names>N</given-names> </name><name name-style="western"><surname>Mariscalco</surname><given-names>M</given-names> </name><name name-style="western"><surname>Turley</surname><given-names>JP</given-names> </name></person-group><article-title>Using time series analysis to predict cardiac arrest in a PICU</article-title><source>Pediatr Crit Care Med</source><year>2015</year><month>11</month><volume>16</volume><issue>9</issue><fpage>e332</fpage><lpage>e339</lpage><pub-id pub-id-type="doi">10.1097/PCC.0000000000000560</pub-id><pub-id pub-id-type="medline">26536566</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ueno</surname><given-names>R</given-names> </name><name name-style="western"><surname>Xu</surname><given-names>L</given-names> </name><name name-style="western"><surname>Uegami</surname><given-names>W</given-names> </name><etal/></person-group><article-title>Value of laboratory results in addition to vital signs in a machine learning algorithm to predict in-hospital cardiac arrest: a single-center retrospective cohort study</article-title><source>PLoS One</source><year>2020</year><month>07</month><day>23</day><volume>15</volume><issue>7</issue><fpage>e0235835</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0235835</pub-id><pub-id pub-id-type="medline">32658901</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kwon</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>S</given-names> </name><name name-style="western"><surname>Park</surname><given-names>J</given-names> </name></person-group><article-title>An algorithm based on deep learning for predicting in-hospital cardiac arrest</article-title><source>J Am Heart Assoc</source><year>2018</year><month>06</month><day>26</day><volume>7</volume><issue>13</issue><fpage>e008678</fpage><pub-id pub-id-type="doi">10.1161/JAHA.118.008678</pub-id><pub-id pub-id-type="medline">29945914</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chae</surname><given-names>M</given-names> </name><name name-style="western"><surname>Han</surname><given-names>S</given-names> </name><name name-style="western"><surname>Gil</surname><given-names>H</given-names> </name><name name-style="western"><surname>Cho</surname><given-names>N</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>H</given-names> </name></person-group><article-title>Prediction of in-hospital cardiac arrest using shallow and deep learning</article-title><source>Diagnostics (Basel)</source><year>2021</year><month>07</month><day>13</day><volume>11</volume><issue>7</issue><fpage>1255</fpage><pub-id pub-id-type="doi">10.3390/diagnostics11071255</pub-id><pub-id pub-id-type="medline">34359337</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ding</surname><given-names>X</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Ma</surname><given-names>W</given-names> </name><etal/></person-group><article-title>Development of early prediction model of in-hospital cardiac arrest based on laboratory parameters</article-title><source>Biomed Eng Online</source><year>2023</year><month>12</month><day>6</day><volume>22</volume><issue>1</issue><fpage>116</fpage><pub-id pub-id-type="doi">10.1186/s12938-023-01178-9</pub-id><pub-id pub-id-type="medline">38057823</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="web"><source>Medical Information Mart for Intensive Care</source><access-date>2024-07-12</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://mimic.mit.edu">https://mimic.mit.edu</ext-link></comment></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="web"><source>eICU Collaborative Research Database</source><access-date>2024-07-12</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://eicu-crd.mit.edu/about/eicu/">https://eicu-crd.mit.edu/about/eicu/</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Supplementary tables, figures, and material.</p><media xlink:href="medinform_v12i1e49142_app1.docx" xlink:title="DOCX File, 37539 KB"/></supplementary-material></app-group></back></article>