Skip to main content

A Deep Learning Model for Early Prediction of COVID-19 Spread

  • Conference paper
  • First Online:
Artificial Intelligence and Sustainable Computing

Abstract

Currently, the COVID-19 infection has caused a global pandemic, affecting the population of many countries on all continents. In this paper, we propose a model based on a convolutional neural network (CNN)—long short-term memory (LSTM) with the ability to predict the probable number of new confirmed COVID-19 cases for the next few days. In the testing phase, the CNN-LSTM model automatically and sequentially inserts the value of confirmed cases for two consecutive days, predicting the value of cases that will occur the next day (third day). This process is done repeatedly to form the time series of a complete forecast by country. In our experiment, a time series dataset was built to train and test the proposed deep learning inference model from available datasets with real data on the number of confirmed cases, deaths, and recovered cases caused for the transmission of COVID-19 from five countries. The precision results obtained by the CNN-LSTM model are acceptable, reporting values of minimum root-mean-squared error (RMSE) of 1401.33, mean absolute error (MAE) of 1027.42, mean absolute percentage error (MAPE) of 0.39, and coefficient of determination (R2) of 0.99, according to the scenarios analyzed. Finally, the CNN-LSTM model provides a promising method for predicting the time series of confirmed COVID-19 cases, as evidenced by the satisfactory performance of the number of new confirmed cases for the five scenarios analyzed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. World Health Organization (2020) Report of the WHO-China joint mission on coronavirus disease 2019 (COVID-19). https://www.who.int/docs/default-source/coronaviruse/who-china-joint-mission-on-covid-19-nal-report.pdf. Last accessed 17 Mar 2021

  2. WHO (2021) Weekly epidemiological update on COVID-19—14 September 2021. https://www.who.int/publications/m/item/weekly-epidemiological-update-on-covid-19---14-september-2021. Last accessed 20 Sep 2021

  3. Huang NE, Qiao F (2020) A data driven time-dependent transmission rate for tracking an epidemic: a case study of 2019-nCoV. Sci Bull 65(6):425–427. https://doi.org/10.1016/j.scib.2020.02.005

    Article  MathSciNet  Google Scholar 

  4. Li Q, Guan X, Wu P, Wang X, Zhou L et al (2020) Early transmission dynamics in Wuhan, China, of novel coronavirus-infected pneumonia. N Engl J Med 382(13):1199–1207. https://doi.org/10.1056/NEJMoa2001316

    Article  Google Scholar 

  5. Bogoch II, Watts A, Thomas-Bachli A, Huber C, Kraemer MUG, Khan K (2020) Pneumonia of unknown aetiology in Wuhan, China: potential for international spread via commercial air travel. J Travel Med 27(2):1–3. https://doi.org/10.1093/jtm/taaa008

    Article  Google Scholar 

  6. Du Z, Wang L, Cauchemez S, Xu X, Wang X, Cowling BJ, Meyers LA (2020) Risk for transportation of coronavirus disease from Wuhan to other cities in China. Emerg Infect Dis 26(5):1049–1052. https://doi.org/10.3201/eid2605.200146

    Article  Google Scholar 

  7. Wu JT, Leung K, Leung GM (2020) Nowcasting and forecasting the potential domestic and international spread of the 2019-nCoV outbreak originating in Wuhan, China: a modelling study. Lancet 395(10225):689–697. https://doi.org/10.1016/S0140-6736(20)30260-9

    Article  Google Scholar 

  8. Huang C, Wang Y, Li X, Ren L, Zhao J et al (2020) Clinical features of patients infected with 2019 novel coronavirus in Wuhan China. Lancet 395(10223):497–506. https://doi.org/10.1016/S0140-6736(20)30183-5

    Article  Google Scholar 

  9. Ghinai I, McPherson TD, Hunter JC, Kirking HL, Christiansen D et al (2020) First known person-to-person transmission of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) in the USA. Lancet 395(10230):1137–1144. https://doi.org/10.1016/S0140-6736(20)30607-3

    Article  Google Scholar 

  10. Chen TM, Rui J, Wang QP, Zhao ZY, Cui JA, Yin L (2020) A mathematical model for simulating the phase-based transmissibility of a novel coronavirus. Infect Dis Poverty 9(1):1–8. https://doi.org/10.1186/s40249-020-00640-3

    Article  Google Scholar 

  11. Kucharski AJ, Russell TW, Diamond C, Liu Y, Edmunds J et al (2020) Early dynamics of transmission and control of COVID-19: a mathematical modelling study. Lancet Infect Dis 20(5):553–558. https://doi.org/10.1016/S1473-3099(20)30144-4

    Article  Google Scholar 

  12. Rauf HT, Lali MIU, Khan MA, Kadry S, Alolaiyan H et al (2021) Time series forecasting of COVID-19 transmission in Asia Pacific countries using deep neural networks. Pers Ubiquit Comput. https://doi.org/10.1007/s00779-020-01494-0

    Article  Google Scholar 

  13. Wang P, Zheng X, Ai G, Liu D, Zhu B (2020) Time series prediction for the epidemic trends of COVID-19 using the improved LSTM deep learning method: case studies in Russia, Peru and Iran. Chaos, Solitons Fractals 140(110214):1–8. https://doi.org/10.1016/j.chaos.2020.110214

    Article  MathSciNet  Google Scholar 

  14. Tomar A, Gupta N (2020) Prediction for the spread of COVID-19 in India and effectiveness of preventive measures. Sci Total Environ 728(138762). https://doi.org/10.1016/j.scitotenv.2020.138762

  15. Manojkumar VK, Dhanya NM, Prakash P (2021) A hybrid deep learning approach for predicting the spread of COVID-19. In: Paprzycki M, Thampi SM, Mitra S, Trajkovic L, El-Alfy ESM (eds) Intelligent systems, technologies and applications, pp 193–204. Springer, India. https://doi.org/10.1007/978-981-16-0730-113

  16. Gautam Y (2021) Transfer learning for COVID-19 cases and deaths forecast using LSTM network. ISA Trans. https://doi.org/10.1016/j.isatra.2020.12.057

    Article  Google Scholar 

  17. Islam Z, Islam M, Asraf A (2020) A combined deep CNN-LSTM network for the detection of novel coronavirus (COVID-19) using X-ray images. Inform Med Unlocked 20(100412). https://doi.org/10.1016/j.imu.2020.100412

  18. Pham T, Tran T, Phung D, Venkatesh S (2017) Predicting healthcare trajectories from medical records: a deep learning approach. J Biomed Inform 69:218–229. https://doi.org/10.1016/j.jbi.2017.04.001

    Article  Google Scholar 

  19. Maragatham G, Devi S (2019) LSTM model for prediction of heart failure in big data. J Med Syst 43(5):1–13. https://doi.org/10.1007/s10916-019-1243-3

    Article  Google Scholar 

  20. Dong E, Du H, Gardner L (2020) An interactive web-based dashboard to track COVID-19 in real time. Lancet Infect Dis 20(5):533–534. https://doi.org/10.1016/S1473-3099(20)30120-1

    Article  Google Scholar 

  21. JHU CSSE (2021) COVID-19 data repository by the center for systems science and engineering (CSSE) at Johns Hopkins University. https://github.com/CSSEGISandData/COVID-19. Last accessed 26 Aug 2021

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Edgar Tello-Leal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ramirez-Alcocer, U.M., Tello-Leal, E., Hernandez-Resendiz, J.D., Macias-Hernandez, B.A. (2022). A Deep Learning Model for Early Prediction of COVID-19 Spread. In: Pandit, M., Gaur, M.K., Rana, P.S., Tiwari, A. (eds) Artificial Intelligence and Sustainable Computing. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-19-1653-3_41

Download citation

Publish with us

Policies and ethics