Cargando…
A unified machine learning approach to time series forecasting applied to demand at emergency departments
BACKGROUND: There were 25.6 million attendances at Emergency Departments (EDs) in England in 2019 corresponding to an increase of 12 million attendances over the past ten years. The steadily rising demand at EDs creates a constant challenge to provide adequate quality of care while maintaining stand...
Autores principales: | , , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7812986/ https://www.ncbi.nlm.nih.gov/pubmed/33461485 http://dx.doi.org/10.1186/s12873-020-00395-y |
_version_ | 1783637766897139712 |
---|---|
author | Vollmer, Michaela A.C. Glampson, Ben Mellan, Thomas Mishra, Swapnil Mercuri, Luca Costello, Ceire Klaber, Robert Cooke, Graham Flaxman, Seth Bhatt, Samir |
author_facet | Vollmer, Michaela A.C. Glampson, Ben Mellan, Thomas Mishra, Swapnil Mercuri, Luca Costello, Ceire Klaber, Robert Cooke, Graham Flaxman, Seth Bhatt, Samir |
author_sort | Vollmer, Michaela A.C. |
collection | PubMed |
description | BACKGROUND: There were 25.6 million attendances at Emergency Departments (EDs) in England in 2019 corresponding to an increase of 12 million attendances over the past ten years. The steadily rising demand at EDs creates a constant challenge to provide adequate quality of care while maintaining standards and productivity. Managing hospital demand effectively requires an adequate knowledge of the future rate of admission. We develop a novel predictive framework to understand the temporal dynamics of hospital demand. METHODS: We compare and combine state-of-the-art forecasting methods to predict hospital demand 1, 3 or 7 days into the future. In particular, our analysis compares machine learning algorithms to more traditional linear models as measured in a mean absolute error (MAE) and we consider two different hyperparameter tuning methods, enabling a faster deployment of our models without compromising performance. We believe our framework can readily be used to forecast a wide range of policy relevant indicators. RESULTS: We find that linear models often outperform machine learning methods and that the quality of our predictions for any of the forecasting horizons of 1, 3 or 7 days are comparable as measured in MAE. Our approach is able to predict attendances at these emergency departments one day in advance up to a mean absolute error of ±14 and ±10 patients corresponding to a mean absolute percentage error of 6.8% and 8.6% respectively. CONCLUSIONS: Simple linear methods like generalized linear models are often better or at least as good as ensemble learning methods like the gradient boosting or random forest algorithm. However, though sophisticated machine learning methods are not necessarily better than linear models, they improve the diversity of model predictions so that stacked predictions can be more robust than any single model including the best performing one. |
format | Online Article Text |
id | pubmed-7812986 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-78129862021-01-18 A unified machine learning approach to time series forecasting applied to demand at emergency departments Vollmer, Michaela A.C. Glampson, Ben Mellan, Thomas Mishra, Swapnil Mercuri, Luca Costello, Ceire Klaber, Robert Cooke, Graham Flaxman, Seth Bhatt, Samir BMC Emerg Med Research Article BACKGROUND: There were 25.6 million attendances at Emergency Departments (EDs) in England in 2019 corresponding to an increase of 12 million attendances over the past ten years. The steadily rising demand at EDs creates a constant challenge to provide adequate quality of care while maintaining standards and productivity. Managing hospital demand effectively requires an adequate knowledge of the future rate of admission. We develop a novel predictive framework to understand the temporal dynamics of hospital demand. METHODS: We compare and combine state-of-the-art forecasting methods to predict hospital demand 1, 3 or 7 days into the future. In particular, our analysis compares machine learning algorithms to more traditional linear models as measured in a mean absolute error (MAE) and we consider two different hyperparameter tuning methods, enabling a faster deployment of our models without compromising performance. We believe our framework can readily be used to forecast a wide range of policy relevant indicators. RESULTS: We find that linear models often outperform machine learning methods and that the quality of our predictions for any of the forecasting horizons of 1, 3 or 7 days are comparable as measured in MAE. Our approach is able to predict attendances at these emergency departments one day in advance up to a mean absolute error of ±14 and ±10 patients corresponding to a mean absolute percentage error of 6.8% and 8.6% respectively. CONCLUSIONS: Simple linear methods like generalized linear models are often better or at least as good as ensemble learning methods like the gradient boosting or random forest algorithm. However, though sophisticated machine learning methods are not necessarily better than linear models, they improve the diversity of model predictions so that stacked predictions can be more robust than any single model including the best performing one. BioMed Central 2021-01-18 /pmc/articles/PMC7812986/ /pubmed/33461485 http://dx.doi.org/10.1186/s12873-020-00395-y Text en © The Author(s) 2021 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visithttp://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Research Article Vollmer, Michaela A.C. Glampson, Ben Mellan, Thomas Mishra, Swapnil Mercuri, Luca Costello, Ceire Klaber, Robert Cooke, Graham Flaxman, Seth Bhatt, Samir A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title | A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title_full | A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title_fullStr | A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title_full_unstemmed | A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title_short | A unified machine learning approach to time series forecasting applied to demand at emergency departments |
title_sort | unified machine learning approach to time series forecasting applied to demand at emergency departments |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7812986/ https://www.ncbi.nlm.nih.gov/pubmed/33461485 http://dx.doi.org/10.1186/s12873-020-00395-y |
work_keys_str_mv | AT vollmermichaelaac aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT glampsonben aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mellanthomas aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mishraswapnil aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mercuriluca aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT costelloceire aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT klaberrobert aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT cookegraham aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT flaxmanseth aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT bhattsamir aunifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT vollmermichaelaac unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT glampsonben unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mellanthomas unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mishraswapnil unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT mercuriluca unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT costelloceire unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT klaberrobert unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT cookegraham unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT flaxmanseth unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments AT bhattsamir unifiedmachinelearningapproachtotimeseriesforecastingappliedtodemandatemergencydepartments |