Perbandingan Algoritma Naïve Bayes Dan K-Nearest Neighbor pada Analisis Sentimen Pembukaan Pariwisata Di Masa Pandemi Covid 19

Defrimont Era(1*), Septi Andryana(2), Albaar Rubhasy(3),

(1) Universitas Nasional, Indonesia
(2) Universitas Nasional, Indonesia
(3) Universitas Nasional, Indonesia
(*) Corresponding Author

Abstract


Covid-19 is a trending topic of conversation on social media today. one of the trending topics on social media in 2021 in the midst of the covid 19 pandemic related to tourism destinations that will reopen amid the increase in daily cases of covid 19 in a number of areas of Indonesia in particular. The implementation of the government's policy of opening tourist destinations has drawn various arguments or opinions among the public. especially social media users by providing arguments or tweets related to opinions through social media such as Instagram, Twitter, and Facebook. In this study, an analysis of the sentiments of the Indonesian people, especially social media users, was carried out regarding government policies related to the opening of tourism in the midst of the COVID-19 pandemic using the Naive Bayes and K-Nearest Neighbor (KNN) algorithms and knowing the comparison of the performance of the two algorithms. This dataset used is taken through various social media platforms with a data crawling process. The dataset used is a sql file. the number of datasets used to process data processing in the public sentiment analysis application about the opinion of opening tourism in the midst of the covid 19 pandemic on twitter as many as 570 tweets using 12 hashtags namely #Desabisa, #desawisata, #DiIndonesiaAja, #EraNewNormal and #LabuanBajo #MulaiDariDesa #PPKMDiPerpanjang #SobatParekraf #PlacesTourism #Bali Tours #Banyuwangi Tours #Jogja Tours. In the research conducted, the implementation of the results of the application of the Naive Bayes algorithm and the K-Nearest Neighbor (KNN) algorithm in the sentiment analysis of the opening of tourism destinations during the covid-19 pandemic was successfully carried out by producing the highest Naive Bayes accuracy rate of 75.53%, precision the highest positive is 71%, the highest negative precision is 25%, the highest positive recall is 99% and the highest negative recall is 14%. As for the K-Nearest Neighbor (KNN) algorithm, the highest accuracy rate is 48.66%, the highest positive precision is 69%, the highest negative precision is 14%, the highest positive recall is 69% and the highest negative recall is 28%. The level of accuracy in the comparison of the two algorithms shows that the Naive Bayes algorithm has the best performance with an accuracy level compared to the K-Nearest Neighbor algorithm in analyzing the sentiments of social media users about the opening of tourism during the COVID-19 pandemic.

Full Text:

PDF

References


Satuan Tugas Penanganan., 2013. “Data Covid Indonesia.” https://covid19.go.id/.

Mochmamad Haldi Widianto, “Algoritma Naïve Bayes” https://binus.ac.id/bandung/2019/12/algoritma-naive-bayes/.

R. P. Fitrianti, A. Kurniawati, and D. Agusten, “Analisis Sentimen Terhadap Review Restoran Dengan Teks Bahasa Indonesia Menggunakan Algoritma K-Nearest Neighbor,” Semin. Nas. Apl. Teknol. Inf., pp. 27–32,2019.

Efendi, Rizal Maulana Yusuf dkk. “Sistem pakar diagnosa kerusakan VGA dengan metode certainty factor dan algoritma K-Nearest Neighbor (KNN)”.2021

Efendi, Rizal Maulana Yusuf dkk. “Visualisasi dan analisa data penyebaran covid-19 dengan metode klasifikasi naïve bayes”.2021

F. Z. Tala, "A Study of Stemming Effects on Information Retrieval in Bahasa Indonesia," Institute for Logic, Language and Computation Universeit Van Amsterdam, 2003

B. Nazief and M. Adriani, "Stemming Indonesian: A confix-stripping approach'," ACM Transactions on Asian Language Information Processing, 2007

J. Asian, H. E. Williams and S. M. M. Tahaghohi, "Stemming Indonesian," in In Conferences in Research and Practice in Information Technology Series, 2005.

R.Sari, “Analisis Sentimen pada Review Objek Wisata Dunia Fantasi Menggunakan Algoritma K Nearest Neighbor (K-Nn),” EVOLUSI J. Sains dan Manaj.,Vol. 8,No. 1,pp. 10–17, 2020, doi: 10.31294/evolusi.v8i1.7371

R. N. Safitri, “Analisis Sentimen Review Pelanggan Hotel Menggunakan Metode K-Nearest Neighbor (K-NN) (Studi Kasus: Hotels.com, Booking.com, Agoda.com),”Tugas Akhir Univ. Din.,Vol. 21,No. 1, pp. 1–9, 2020, [Online]. Available: http://repositorio.unan.edu.ni/2986/1/5624.pdf.




DOI: http://dx.doi.org/10.30645/j-sakti.v7i1.590

Refbacks

  • There are currently no refbacks.



J-SAKTI (Jurnal Sains Komputer & Informatika)
Published Papers Indexed/Abstracted By:


Jumlah Kunjungan :

View My Stats