L Socias Crespí, L Gutiérrez Madroñal, M Fiorella Sarubbo, M Borges-Sa, A Serrano García, D López Ramos, C Pruenza Garcia-Hinojosa, E Martin Garijo
{"title":"Application of a machine learning model for early prediction of in-hospital cardiac arrests: Retrospective observational cohort study.","authors":"L Socias Crespí, L Gutiérrez Madroñal, M Fiorella Sarubbo, M Borges-Sa, A Serrano García, D López Ramos, C Pruenza Garcia-Hinojosa, E Martin Garijo","doi":"10.1016/j.medine.2024.07.004","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>To describe the results of the application of a Machine Learning (ML) model to predict in-hospital cardiac arrests (ICA) 24 hours in advance in the hospital wards.</p><p><strong>Design: </strong>Retrospective observational cohort study.</p><p><strong>Setting: </strong>Hospital Wards.</p><p><strong>Patients: </strong>Data were extracted from the hospital's Electronic Health Record (EHR). The resulting database contained a total of 750 records corresponding to 620 different patients (370 patients with ICA and 250 control), between may 2009 and december 2021.</p><p><strong>Interventions: </strong>No.</p><p><strong>Main variables of interest: </strong>As predictors of ICA, a set of 28 variables including personal history, vital signs and laboratory data was employed.</p><p><strong>Models: </strong>For the early prediction of ICA, predictive models based on the following ML algorithms and using the mentioned variables, were developed and compared: K Nearest Neighbours, Support Vector Machine, Multilayer Perceptron, Random Forest, Gradient Boosting and Custom Ensemble of Gradient Boosting estimators (CEGB).</p><p><strong>Experiments: </strong>Model training and evaluation was carried out using cross validation. Among metrics of performance, accuracy, specificity, sensitivity and AUC were estimated.</p><p><strong>Results: </strong>The best performance was provided by the CEGB model, which obtained an AUC = 0.90, a specificity = 0.84 and a sensitivity = 0.81. The main variables with influence to predict ICA were level of consciousness, haemoglobin, glucose, urea, blood pressure, heart rate, creatinine, age and hypertension, among others.</p><p><strong>Conclusions: </strong>The use of ML models could be of great support in the early detection of ICA, as the case of the CEGB model endorsed, which enabled good predictions of ICA.</p>","PeriodicalId":94139,"journal":{"name":"Medicina intensiva","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Medicina intensiva","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1016/j.medine.2024.07.004","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Objective: To describe the results of the application of a Machine Learning (ML) model to predict in-hospital cardiac arrests (ICA) 24 hours in advance in the hospital wards.
Design: Retrospective observational cohort study.
Setting: Hospital Wards.
Patients: Data were extracted from the hospital's Electronic Health Record (EHR). The resulting database contained a total of 750 records corresponding to 620 different patients (370 patients with ICA and 250 control), between may 2009 and december 2021.
Interventions: No.
Main variables of interest: As predictors of ICA, a set of 28 variables including personal history, vital signs and laboratory data was employed.
Models: For the early prediction of ICA, predictive models based on the following ML algorithms and using the mentioned variables, were developed and compared: K Nearest Neighbours, Support Vector Machine, Multilayer Perceptron, Random Forest, Gradient Boosting and Custom Ensemble of Gradient Boosting estimators (CEGB).
Experiments: Model training and evaluation was carried out using cross validation. Among metrics of performance, accuracy, specificity, sensitivity and AUC were estimated.
Results: The best performance was provided by the CEGB model, which obtained an AUC = 0.90, a specificity = 0.84 and a sensitivity = 0.81. The main variables with influence to predict ICA were level of consciousness, haemoglobin, glucose, urea, blood pressure, heart rate, creatinine, age and hypertension, among others.
Conclusions: The use of ML models could be of great support in the early detection of ICA, as the case of the CEGB model endorsed, which enabled good predictions of ICA.