The Naive Bayes Algorithm in Predicting the Spread of the Omicron Variant of Covid-19 in Indonesia: Implementation and Analysis

Jeffri Prayitno Bangkit Saputra, Racidon P Bernarte


Indonesia was struck by an epidemic of the corona virus in the start of March 2020, according to official reports (covid). Indonesia continues to see a rise in the number of cases of covid-19 spreading on a daily basis. The general people are urged to engage in social distancing in order to disrupt the development of COVID-19, which has spread across Indonesia's numerous areas. For this reason, this research was undertaken as a preemptive step against the Covid-19 pandemic by estimating the extent of the Omicron variety of Covid-19's spread around the world, with a particular emphasis on Indonesia. The research methodologies employed in this study were problem analysis and literature review, as well as data gathering and execution. The Naive Bayes technique is thought to be capable of estimating the degree of COVID-19 dissemination in Indonesia. The results of the Naive Bayes method classification study revealed that 16 data from 33 data tested for Covid-19 cases per province were correctly classified with an accuracy of 46.4252 percent, while 16 data from 33 data tested for Covid-19 cases per province were misclassified with an accuracy of 46.4252 percent.

Article Metrics

Abstract: 0 Viewers PDF: 0 Viewers


Covid-19; Naive Bayes; Machine Learning; Data Mining

Full Text:



D. Silahudin, Henderi, and A. Holidin, “Model expert system for diagnosis of COVID-19 using naïve bayes classifier,” IOP Conf. Ser. Mater. Sci. Eng., vol. 1007, no. 1, 2020, doi: 10.1088/1757-899X/1007/1/012067.

Pristiyono, M. Ritonga, M. A. Al Ihsan, A. Anjar, and F. H. Rambe, “Sentiment analysis of COVID-19 vaccine in Indonesia using Naïve Bayes Algorithm,” IOP Conf. Ser. Mater. Sci. Eng., vol. 1088, no. 1, p. 012045, 2021, doi: 10.1088/1757-899x/1088/1/012045.

N. A. Mansour, A. I. Saleh, M. Badawy, and H. A. Ali, “Accurate detection of Covid-19 patients based on Feature Correlated Naïve Bayes (FCNB) classification strategy,” J. Ambient Intell. Humaniz. Comput., vol. 13, no. 1, pp. 41–73, 2022, doi: 10.1007/s12652-020-02883-2.

W. M. Shaban, A. H. Rabie, A. I. Saleh, and M. A. Abo-Elsoud, “Accurate detection of COVID-19 patients based on distance biased Naïve Bayes (DBNB) classification strategy,” Pattern Recognit., vol. 119, p. 108110, Nov. 2021, doi: 10.1016/j.patcog.2021.108110.

A. R. Isnain, N. S. Marga, and D. Alita, “Sentiment Analysis Of Government Policy On Corona Case Using Naive Bayes Algorithm,” Indones. J. Comput. Cybern. Syst., vol. 15, no. 1, pp. 55–64, 2021.

C. Villavicencio, J. J. Macrohon, X. A. Inbaraj, J. H. Jeng, and J. G. Hsieh, “Twitter sentiment analysis towards covid-19 vaccines in the Philippines using naive bayes,” Inf., vol. 12, no. 5, 2021, doi: 10.3390/info12050204.

A. F. Watratan, A. P. B, D. Moeis, S. Informasi, and S. P. Makassar, “Implementation of the Naive Bayes Algorithm to Predict the Spread of Covid-19 in Indonesia,” J. Appl. Comput. Sci. Technol., vol. 1, no. 1, pp. 7–14, 2020.

D. Tiwari, B. S. Bhati, F. Al-Turjman, and B. Nagpal, “Pandemic coronavirus disease (Covid-19): World effects analysis and prediction using machine-learning techniques,” Expert Syst., p. 10.1111/exsy.12714, May 2021, doi: 10.1111/exsy.12714.

S. Bhatia and J. Malhotra, “Naïve bayes classifier for predicting the novel coronavirus,” Proc. 3rd Int. Conf. Intell. Commun. Technol. Virtual Mob. Networks, ICICV 2021, no. February, pp. 880–883, 2021, doi: 10.1109/ICICV50876.2021.9388410.

D. S. Abdelminaam, F. H. Ismail, M. Taha, A. Taha, E. H. Houssein, and A. Nabil, “CoAID-DEEP: An Optimized Intelligent Framework for Automated Detecting COVID-19 Misleading Information on Twitter,” IEEE Access, vol. 9, no. December 2019, pp. 27840–27867, 2021, doi: 10.1109/ACCESS.2021.3058066.

W. Yulita, E. D. Nugroho, and M. H. Algifari, “Sentiment Analysis on Public Opinion About the Covid-19 Vaccine Using the Naïve Bayes Classifier Algorithm,” JDMSI, vol. 2, no. 2, pp. 1–9, 2021.

L. J. Muhammad, M. M. Islam, S. S. Usman, and S. I. Ayon, “Predictive Data Mining Models for Novel Coronavirus (COVID-19) Infected Patients’ Recovery,” SN Comput. Sci., vol. 1, no. 4, p. 206, 2020, doi: 10.1007/s42979-020-00216-w.

R. Al Dzahabi Yunas, A. Triayudi, and I. D. Sholihati, “Implementation of an Expert System for Detecting the Covid-19 Virus with a Comparison of the Naïve Bayes Method and Certainty Factor,” J. JTIK (Jurnal Teknol. Inf. dan Komunikasi), vol. 5, no. 3, p. 338, 2021, doi: 10.35870/jtik.v5i3.221.

D. John Pierre, “Philippine Twitter Sentiments during Covid-19 Pandemic using Multinomial Naïve-Bayes Philippine Twitter Sentiments during Covid-19 Pandemic,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 9, no. 1, pp. 408–412, 2020.

M. R. Romadhon and F. Kurniawan, “A Comparison of Naive Bayes Methods, Logistic Regression and KNN for Predicting Healing of Covid-19 Patients in Indonesia,” 3rd 2021 East Indones. Conf. Comput. Inf. Technol. EIConCIT 2021, pp. 41–44, 2021, doi: 10.1109/EIConCIT50028.2021.9431845.

U. Verawardina, F. Edi, and R. Watrianthos, “Sentiment Analysis of Online Learning on Twitter during the COVID-19 Pandemic Using the Naive Bayes Method,” J. Media Inform. Budidarma, vol. 5, no. 1, pp. 157–163, 2021, doi: 10.30865/mib.v5i1.2604.

A. Muzaki and A. Witanti, “Sentiment Analysis of the Community in the Twitter To the 2020 Election in Pandemic Covid-19 By Method Naive Bayes Classifier,” J. Tek. Inform., vol. 2, no. 2, pp. 101–107, 2021, doi: 10.20884/1.jutif.2021.2.2.51.

M. Syarifuddin, “Analysis of Public Opinion Sentiment Regarding Covid-19 on Twitter Using the Naïve Bayes and Knn Method,” Inti Nusa Mandiri, vol. 15, no. 1, pp. 23–28, 2020.


  • There are currently no refbacks.



International Journal of Informatics and Information Systems (IJIIS)

2579-7069 (Online)
Organized by:MetaBright
Published by:Bright Publisher or (paper handling issues) (publication issues) (technical issues)

 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0