Cargando…

Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis

OBJECTIVE: This study aims to develop and compare different models to predict the Length of Stay (LoS) and the Prolonged Length of Stay (PLoS) of inpatients admitted through the emergency department (ED) in general patient settings. This aim is not only to promote any specific model but rather to su...

Descripción completa

Detalles Bibliográficos
Autores principales: Zeleke, Addisu Jember, Palumbo, Pierpaolo, Tubertini, Paolo, Miglio, Rossella, Chiari, Lorenzo
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10426288/
https://www.ncbi.nlm.nih.gov/pubmed/37588696
http://dx.doi.org/10.3389/frai.2023.1179226
_version_ 1785090023507361792
author Zeleke, Addisu Jember
Palumbo, Pierpaolo
Tubertini, Paolo
Miglio, Rossella
Chiari, Lorenzo
author_facet Zeleke, Addisu Jember
Palumbo, Pierpaolo
Tubertini, Paolo
Miglio, Rossella
Chiari, Lorenzo
author_sort Zeleke, Addisu Jember
collection PubMed
description OBJECTIVE: This study aims to develop and compare different models to predict the Length of Stay (LoS) and the Prolonged Length of Stay (PLoS) of inpatients admitted through the emergency department (ED) in general patient settings. This aim is not only to promote any specific model but rather to suggest a decision-supporting tool (i.e., a prediction framework). METHODS: We analyzed a dataset of patients admitted through the ED to the “Sant”Orsola Malpighi University Hospital of Bologna, Italy, between January 1 and October 26, 2022. PLoS was defined as any hospitalization with LoS longer than 6 days. We deployed six classification algorithms for predicting PLoS: Random Forest (RF), Support Vector Machines (SVM), Gradient Boosting (GB), AdaBoost, K-Nearest Neighbors (KNN), and logistic regression (LoR). We evaluated the performance of these models with the Brier score, the area under the ROC curve (AUC), accuracy, sensitivity (recall), specificity, precision, and F1-score. We further developed eight regression models for LoS prediction: Linear Regression (LR), including the penalized linear models Least Absolute Shrinkage and Selection Operator (LASSO), Ridge and Elastic-net regression, Support vector regression, RF regression, KNN, and eXtreme Gradient Boosting (XGBoost) regression. The model performances were measured by their mean square error, mean absolute error, and mean relative error. The dataset was randomly split into a training set (70%) and a validation set (30%). RESULTS: A total of 12,858 eligible patients were included in our study, of whom 60.88% had a PloS. The GB classifier best predicted PloS (accuracy 75%, AUC 75.4%, Brier score 0.181), followed by LoR classifier (accuracy 75%, AUC 75.2%, Brier score 0.182). These models also showed to be adequately calibrated. Ridge and XGBoost regressions best predicted LoS, with the smallest total prediction error. The overall prediction error is between 6 and 7 days, meaning there is a 6–7 day mean difference between actual and predicted LoS. CONCLUSION: Our results demonstrate the potential of machine learning-based methods to predict LoS and provide valuable insights into the risks behind prolonged hospitalizations. In addition to physicians' clinical expertise, the results of these models can be utilized as input to make informed decisions, such as predicting hospitalizations and enhancing the overall performance of a public healthcare system.
format Online
Article
Text
id pubmed-10426288
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-104262882023-08-16 Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis Zeleke, Addisu Jember Palumbo, Pierpaolo Tubertini, Paolo Miglio, Rossella Chiari, Lorenzo Front Artif Intell Artificial Intelligence OBJECTIVE: This study aims to develop and compare different models to predict the Length of Stay (LoS) and the Prolonged Length of Stay (PLoS) of inpatients admitted through the emergency department (ED) in general patient settings. This aim is not only to promote any specific model but rather to suggest a decision-supporting tool (i.e., a prediction framework). METHODS: We analyzed a dataset of patients admitted through the ED to the “Sant”Orsola Malpighi University Hospital of Bologna, Italy, between January 1 and October 26, 2022. PLoS was defined as any hospitalization with LoS longer than 6 days. We deployed six classification algorithms for predicting PLoS: Random Forest (RF), Support Vector Machines (SVM), Gradient Boosting (GB), AdaBoost, K-Nearest Neighbors (KNN), and logistic regression (LoR). We evaluated the performance of these models with the Brier score, the area under the ROC curve (AUC), accuracy, sensitivity (recall), specificity, precision, and F1-score. We further developed eight regression models for LoS prediction: Linear Regression (LR), including the penalized linear models Least Absolute Shrinkage and Selection Operator (LASSO), Ridge and Elastic-net regression, Support vector regression, RF regression, KNN, and eXtreme Gradient Boosting (XGBoost) regression. The model performances were measured by their mean square error, mean absolute error, and mean relative error. The dataset was randomly split into a training set (70%) and a validation set (30%). RESULTS: A total of 12,858 eligible patients were included in our study, of whom 60.88% had a PloS. The GB classifier best predicted PloS (accuracy 75%, AUC 75.4%, Brier score 0.181), followed by LoR classifier (accuracy 75%, AUC 75.2%, Brier score 0.182). These models also showed to be adequately calibrated. Ridge and XGBoost regressions best predicted LoS, with the smallest total prediction error. The overall prediction error is between 6 and 7 days, meaning there is a 6–7 day mean difference between actual and predicted LoS. CONCLUSION: Our results demonstrate the potential of machine learning-based methods to predict LoS and provide valuable insights into the risks behind prolonged hospitalizations. In addition to physicians' clinical expertise, the results of these models can be utilized as input to make informed decisions, such as predicting hospitalizations and enhancing the overall performance of a public healthcare system. Frontiers Media S.A. 2023-07-28 /pmc/articles/PMC10426288/ /pubmed/37588696 http://dx.doi.org/10.3389/frai.2023.1179226 Text en Copyright © 2023 Zeleke, Palumbo, Tubertini, Miglio and Chiari. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Artificial Intelligence
Zeleke, Addisu Jember
Palumbo, Pierpaolo
Tubertini, Paolo
Miglio, Rossella
Chiari, Lorenzo
Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title_full Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title_fullStr Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title_full_unstemmed Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title_short Machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a Gradient Boosting algorithm analysis
title_sort machine learning-based prediction of hospital prolonged length of stay admission at emergency department: a gradient boosting algorithm analysis
topic Artificial Intelligence
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10426288/
https://www.ncbi.nlm.nih.gov/pubmed/37588696
http://dx.doi.org/10.3389/frai.2023.1179226
work_keys_str_mv AT zelekeaddisujember machinelearningbasedpredictionofhospitalprolongedlengthofstayadmissionatemergencydepartmentagradientboostingalgorithmanalysis
AT palumbopierpaolo machinelearningbasedpredictionofhospitalprolongedlengthofstayadmissionatemergencydepartmentagradientboostingalgorithmanalysis
AT tubertinipaolo machinelearningbasedpredictionofhospitalprolongedlengthofstayadmissionatemergencydepartmentagradientboostingalgorithmanalysis
AT migliorossella machinelearningbasedpredictionofhospitalprolongedlengthofstayadmissionatemergencydepartmentagradientboostingalgorithmanalysis
AT chiarilorenzo machinelearningbasedpredictionofhospitalprolongedlengthofstayadmissionatemergencydepartmentagradientboostingalgorithmanalysis