Long short-term memory model for COVID-19 forecasting
Abstract
Every time new variants of COVID-19, back to the pandemic, could bring massive loss to human society and traditional models have failed to catch the complexities of COVID-19. Thus, to handle the unpredictable challenges posed by the dynamic nature of COVID-19, Long Short-Term Memory (LSTM) models were utilized to make accurate short and long-term predictions about different variants and prepare the model for another variant or virus similar to COVID-19 by learning the data of different COVID-19 variants. The dataset, sourced from ‘owid-covid-data,’ is cleaned and divided into original, alpha, delta, and mixed variants in the United States from March 1, 2020, to April 30, 2022. MSE, RMSE, MAE, and R2 are used to compare the difference between real and predicted values to evaluate how accurately the model performs. Results demonstrate the model excels in long-term and short-term predicting COVID-19 cases and deaths for various variants, and mixed variants even promote accuracy. Thus, the proposed LSTM model shows promise for infectious disease forecasting, providing a foundation for anticipating future outbreaks to help policymakers make better decisions or early prevention.
References
- Coronaviridae Study Group of the International Committee on Taxonomy of Viruses. The species severe acute respiratory syndrome-related coronavirus: classifying 2019-nCoV and naming it SARS-CoV-2. Nat Microbiol. 2020 Apr;5(4):536-544.
- Bari A, Khubchandani A, Wang J, Heymann M, Coffee M. COVID-19 early-alert signals using human behavior alternative data. Soc Netw Anal Min. 2021;11(1):18.
- Fernandes Q, Inchakalody VP, Merhi M, et al. Emerging COVID-19 variants and their impact on SARS-CoV-2 diagnosis, therapeutics and vaccines. Ann Med. 2022 Dec;54(1):524-540.
- Heidari A, Jafari Navimipour N, Unal M, et al. The COVID-19 epidemic analysis and diagnosis using deep learning: A systematic literature review and future directions. Comput Biol Med. 2022, Feb; 141:105141.
- Ghany KKA, Zawbaa HM, Sabri HM. COVID-19 prediction using LSTM algorithm: GCC case study. Inform Med Unlocked. 2021; 23: 100566.
- Sepp Hochreiter, Jürgen Schmidhuber; Long Short-Term Memory. Neural Comput1997; 9 (8): 1735–1780.
- Adamidi ES, Mitsis K, Nikita KS. Artificial intelligence in clinical care amidst COVID-19 pandemic: A systematic review. Comput Struct Biotechnol J. 2021; 19:2833-2850.
- Our World in Data. (2023, Nov,17). COVID-19 Data. https://github.com/owid/covid-19-data/blob/master/public/data/owid-covid-data.csv
- Rania Echrigui, Mhamed Hamiche. Optimizing LSTM Models for EUR/USD Prediction in the context of reducing energy consumption: An Analysis of Mean Squared Error, Mean Absolute Error and R-Squared E3S Web Conf., 412 (2023) 01069:1-8
- Iqbal M, Al-Obeidat F, Maqbool F, et al. COVID-19 Patient Count Prediction Using LSTM. IEEE Trans Comput Soc Syst. 2021 Feb 19;8(4):974-981.
- Centres for Disease Control and Prevention. (2023, Dec,3). SARS-CoV-2 Variant Classifications and Definitions. https://www.cdc.gov/coronavirus/2019-ncov/variants/variant-classifications. html
- Abbasimehr H, Paki R. Prediction of COVID-19 confirmed cases combining deep learning methods and Bayesian optimization. Chaos Solitons Fractals. 2021 Jan, 142:110511.