Skip to main content

A Comparative Analysis on Improving Covid-19 Prediction by Using Ensemble Learning Methods

  • Conference paper
  • First Online:
Digitizing Production Systems

Part of the book series: Lecture Notes in Mechanical Engineering ((LNME))

  • 1871 Accesses

Abstract

In this study, it is aimed to improve the Covid-19 predictions in terms of the distinction between Covid-19 and Flu by using several well-known ensemble learning methods namely, majority voting, bagging, boosting, and stacking. In this scope, the performance of base machine learning models was compared with the ensemble ones (majority voting, C5.0, stochastic gradient boosting, bagged CART, random forest, and stacking models) on a public Covid-19 dataset in which observations are labelled as Covid-19 and Flu. Since the task belongs to a classification problem, supervised machine learning algorithms (logistic regression (via generalized linear model), classification and regression trees, artificial neural networks, and support vector machines) are used as base learners. The Cross-Industry Standard Process Model for Data Mining, which is consisted of six stages: business understanding, data understanding, data preparation, modeling, evaluation, and deployment, is used as the study method. In the model performance evaluation stage, an additional metric was proposed by considering the accuracy and its change interval (max-min). The performance of the models was discussed in terms of accuracy and the proposed metric. A Shiny application is developed by using the best performing model. The application enables users to predict Covid-19 status through a web interface and to use it interactively. Analyses are performed with R and RStudio.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.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

References

  1. Zhou, Z.-H.: Ensemble Methods Foundations and Algorithms, 1st edn. CRC Press, Boca Raton, FL (2012)

    Book  Google Scholar 

  2. Brownlee, J.: How to Build an Ensemble of Machine Learning Algorithms in R. Machine Learning Mastery, 07 February 2016. https://machinelearningmastery.com/machine-learning-ensembles-with-r/. Accessed 14 Feb 2021

  3. Narayanachar Tattar, P.: Hands-On Ensemble Learning with R, 1st edn. Pact Publishing Ltd, Brimingham, UK (2018)

    Google Scholar 

  4. Kaushik, S.: Ensemble Models in machine learning? (with code in R). Analytics Vidhya, 15 February 2017. https://www.analyticsvidhya.com/blog/2017/02/introduction-to-ensembling-along-with-implementation-in-r/. Accessed 10 Feb 2021

  5. Singh, A.: Ensemble Learning|Ensemble Techniques. Analytics Vidhya, 18 June 2018. https://www.analyticsvidhya.com/blog/2018/06/comprehensive-guide-for-ensemble-models/. Accessed 31 Jan 2021

  6. Huang, F., Xie, G., Xiao, R.: Research on ensemble learning. In: 2009 International Conference on Artificial Intelligence and Computational Intelligence, November 2009, Vol. 3, pp. 249–252 (2009). https://doi.org/10.1109/AICI.2009.235

  7. Joshi, P.: Bootstrap Sampling|Bootstrap Sampling In Machine Learning. Analytics Vidhya, 12 February 2020. https://www.analyticsvidhya.com/blog/2020/02/what-is-bootstrap-sampling-in-statistics-and-machine-learning/. Accessed 29 June 2021

  8. Saini, B.: Ensemble Techniques— Bagging (Bootstrap aggregating). Medium, 29 January 2021. https://medium.datadriveninvestor.com/ensemble-techniques-bagging-bootstrap-aggregating-c7a7e26bdc13. Accessed 29 June 2021

  9. Brownlee, J.: Bagging and Random Forest Ensemble Algorithms for Machine Learning. Machine Learning Mastery, 21 April 2016. https://machinelearningmastery.com/bagging-and-random-forest-ensemble-algorithms-for-machine-learning/. Accessed 29 June 2021

  10. Hastie, T., Tibshirani, R., Friedman, J.: The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd edn. Springer, New York (2008)

    MATH  Google Scholar 

  11. Shrivastava, R.: Comparative study of boosting and bagging based methods for fault detection in a chemical process. In: 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), Coimbatore, India, March 2021, pp. 674–679 (2007). https://doi.org/10.1109/ICAIS50930.2021.9395905

  12. Oakley, J.G.: Access. In: Waging Cyber War, pp. 101–114. Apress, Berkeley, CA (2019). https://doi.org/10.1007/978-1-4842-4950-5_8

    Chapter  Google Scholar 

  13. Sultan Bin Habib, A.-Z., Tasnim, T. Billah, M.M.: A study on coronary disease prediction using boosting-based ensemble machine learning approaches. In: 2019 2nd International Conference on Innovation in Engineering and Technology (ICIET), Dhaka, Bangladesh, December 2019, pp. 1–6 (2019). https://doi.org/10.1109/ICIET48527.2019.9290600

  14. Yildirim, P., Birant, K.U., Radevski, V., Kut, A., Birant, D.: Comparative analysis of ensemble learning methods for signal classification. In: 2018 26th Signal Processing and Communications Applications Conference (SIU), May 2018, pp. 1–4 (2018). https://doi.org/10.1109/SIU.2018.8404601

  15. Zhang, T., Li, J.: Credit risk control algorithm based on stacking ensemble learning. In: 2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA), Shenyang, China, January 2021, pp. 668–670 (2021). https://doi.org/10.1109/ICPECA51329.2021.9362514

  16. Hamed, A.: COVID-19 Dataset. Harvard Dataverse, Vol. V1, p. UNF:6:RAlD/Ta6J+9xN/Ok+6Cr7A== [fileUNF] (2020). https://doi.org/10.7910/DVN/LQDFSE

  17. Balaban, M.E., Kartal, E.: Veri Madenciliği ve Makine Öğrenmesi Temel Algoritmaları ve R Dili ile Uygulamaları, 2nd ed. Beyoğlu. Çağlayan Kitabevi, İstanbul (2018)

    Google Scholar 

  18. Shearer, C.: The CRISP-DM model: the new blueprint for data mining. J. Data Warehousing 5(4), 13–22 (2000)

    Google Scholar 

  19. Tabrizchi, H., Mosavi, A., Szabo-Gali, A., Felde, I., Nadai, L.: Rapid COVID-19 diagnosis using deep learning of the computerized tomography scans. In: 2020 IEEE 3rd International Conference and Workshop in Óbuda on Electrical and Power Engineering (CANDO-EPE), November 2020, pp. 000173–000178 (2020). https://doi.org/10.1109/CANDO-EPE51100.2020.9337794

  20. Tang, S., et al.: EDL-COVID: ensemble deep learning for COVID-19 case detection from chest x-ray images. IEEE Trans. Industr. Inf. 17(9), 6539–6549 (2021). https://doi.org/10.1109/TII.2021.3057683

    Article  Google Scholar 

  21. Li, X., Tan, W., Liu, P., Zhou, Q., Yang, J.: Classification of COVID-19 chest CT images based on ensemble deep learning. J. Healthcare Eng. 2021, e5528441 (2021). https://doi.org/10.1155/2021/5528441

    Article  Google Scholar 

  22. Das, A.K., Ghosh, S., Thunder, S., Dutta, R., Agarwal, S., Chakrabarti, A.: Automatic COVID-19 detection from X-ray images using ensemble learning with convolutional neural network. Pattern Anal. Appl. 24(3), 1111–1124 (2021). https://doi.org/10.1007/s10044-021-00970-4

    Article  Google Scholar 

  23. gifani, P., Shalbaf, A., Vafaeezadeh, M.: Automated detection of COVID-19 using ensemble of transfer learning with deep convolutional neural network based on CT scans. Int. J. Comput. Assist. Radiol. Surg. 16(1), 115–123 (2020). https://doi.org/10.1007/s11548-020-02286-w

    Article  Google Scholar 

  24. Rafi, T.H.: An ensemble deep transfer-learning approach to identify COVID-19 cases from chest X-ray images. In: 2020 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB), Via del Mar, Chile, October 2020, pp. 1–5 (2020). https://doi.org/10.1109/CIBCB48159.2020.9277695

  25. Berliana, A.U., Bustamam, A.: Implementation of stacking ensemble learning for classification of COVID-19 using image dataset CT scan and lung X-Ray. In: 2020 3rd International Conference on Information and Communications Technology (ICOIACT), Yogyakarta, Indonesia, November 2020, pp. 148–152 (2020). https://doi.org/10.1109/ICOIACT50329.2020.9332112

  26. Shrivastava, P., Singh, A., Agarwal, S., Tekchandani, H., Verma, S.: Covid detection in CT and X-Ray images using ensemble learning. In: 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), Erode, India, April 2021, pp. 1085–1090 (2021). https://doi.org/10.1109/ICCMC51019.2021.9418308

  27. AlJame, M., Ahmad, I., Imtiaz, A., Mohammed, A.: Ensemble learning model for diagnosing COVID-19 from routine blood tests. Inf. Med. Unlocked 21, 100449 (2020). https://doi.org/10.1016/j.imu.2020.100449

    Article  Google Scholar 

  28. Hamed, A., Sobhy, A., Nassar, H.: Accurate classification of COVID-19 based on incomplete heterogeneous data using a KNN variant algorithm. Arab. J. Sci. Eng. 46, 1–12 (2020). https://doi.org/10.1007/s13369-020-05212-z

    Article  Google Scholar 

  29. Stekhoven, D.J.: MissForest: Nonparametric Missing Value Imputation using Random Forest (2013)

    Google Scholar 

  30. Stekhoven, D.J., Buehlmann, P.: MissForest - non-parametric missing value imputation for mixed-type data. Bioinformatics 28(1), 112–118 (2012)

    Article  Google Scholar 

  31. Kuhn, M.: caret: Classification and Regression Training (2020). https://CRAN.R-project.org/package=caret

  32. Deane-Mayer, Z.A., Knowles, J.E.: caretEnsemble: Ensembles of Caret Models (2019). https://CRAN.R-project.org/package=caretEnsemble

  33. Wickham, H., François, R., Henry, L., Müller, K.: dplyr: A Grammar of Data Manipulation (2021). https://CRAN.R-project.org/package=dplyr

  34. Wickham, H.: forcats: Tools for Working with Categorical Variables (Factors) (2021). https://CRAN.R-project.org/package=forcats

  35. Greenwell, B., Boehmke, B., Cunningham, J, G.B.M. Developers: gbm: Generalized Boosted Regression Models (2020). https://CRAN.R-project.org/package=gbm

  36. Wickham, H.: ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag, New York (2016). https://ggplot2.tidyverse.org

  37. Rudis, B.: hrbrthemes: Additional Themes, Theme Components and Utilities for “ggplot2” (2020). https://CRAN.R-project.org/package=hrbrthemes

  38. Karatzoglou, A., Smola, A., Hornik, K., Zeileis, A.: kernlab – an S4 package for kernel methods in R. J. Stat. Softw. 11(9), 1–20 (2004)

    Article  Google Scholar 

  39. Liaw, A., Wiener, M.: Classification and regression by random forest. R News 2(3), 18–22 (2002)

    Google Scholar 

  40. Chang, W., et al.: shiny: Web Application Framework for R (2021). https://CRAN.R-project.org/package=shiny

  41. Attali, D.: shinyjs: Easily Improve the User Experience of Your Shiny Apps in Seconds (2020). https://CRAN.R-project.org/package=shinyjs

  42. Chang, W.: shinythemes: Themes for Shiny (2021). https://CRAN.R-project.org/package=shinythemes

  43. Tierney, N.: visdat: Visualising whole data frames. JOSS 2(16), 355 (2017). https://doi.org/10.21105/joss.00355

    Article  Google Scholar 

  44. R Core Team: R: a language and environment for statistical computing. R foundation for statistical computing (2021). https://www.R-project.org/

  45. RStudio: RStudio | Open source & professional software for data science teams (2021). https://rstudio.com/

  46. RStudio: Shiny (2020). https://shiny.rstudio.com/

  47. RStudio: Shinyapps.io (2020). https://www.shinyapps.io/

Download references

Acknowledgement

The author would like to thank to Prof. Dr. M. Erdal BALABAN for his valuable comments and suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elif Kartal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kartal, E. (2022). A Comparative Analysis on Improving Covid-19 Prediction by Using Ensemble Learning Methods. In: Durakbasa, N.M., Gençyılmaz, M.G. (eds) Digitizing Production Systems. Lecture Notes in Mechanical Engineering. Springer, Cham. https://doi.org/10.1007/978-3-030-90421-0_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-90421-0_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-90420-3

  • Online ISBN: 978-3-030-90421-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics