Sentiment analysis of medicine syrup prohibition using naive bayes classifier algorithm

  • Fitri Wulandari Islamic State University of Sultan Syarif Kasim Riau
  • Elin Haerani Islamic State University of Sultan Syarif Kasim Riau
  • Muhammad Fikry Islamic State University of Sultan Syarif Kasim Riau
  • Elvia Budianita Islamic State University of Sultan Syarif Kasim Riau
Keywords: naive bayes, sentiment analysis, syrup medicine, YouTube

Abstract

The Indonesian government made a policy to stop consuming syrup as a form of prevention against acute kidney failure, which affects many people in Indonesia. However, the policy has caused a lot of comments from the public. These public comments can be found on YouTube, because YouTube has a large data source opportunity to be used as a research material. These comments can be processed directly without using a machine, but it is less effective and efficient. Thus, the comments are processed using machine learning methods. Based on the earlier research, the naive bayes classifier algorithm tends to be simple and easy to use. In addition, this algorithm also has a high accuracy. The amount of data used in this study is 1000 YouTube comment data related to videos regarding the policy of prohibiting the use of syrup medicine, the comments are divided into 2 category, which are positive class and negative class. The results of labeling 1000 comments obtained 704 negative comments and 296 positive comments. Based on the experiments conducted using python programming language, the highest accuracy was obtained at 74% in 70:30 data split. Furthermore, in the balanced dataset (296 positive and 296 negative comments), the highest accuracy was obtained at 64.70% with in 80:20 data split.  These results represent that the naive bayes classifier algorithm is good enough at sentiment analysis about the policy of prohibiting the use of syrup drugs.

Downloads

Download data is not yet available.

References

[1] I. Suhendra and D. L. Sahputri, “BPOM Tarik 73 Obat Sirup Terkait Etilen Glikol, Kemenkes: Dilarang Dipakai!,” November, 09th 2022, 2022. [Online]. Available: https://www.viva.co.id/gaya-hidup/kesehatan-intim/1542165-bpom-tarik-73-obat-sirup-terkait-etilen-glikol-kemenkes-dilarang-dipakai. [Accessed: 09-Nov-2022].
[2] Newswire, “Dipakai 93,8% Pengguna Internet Indonesia, YouTube Jadi Medsos Terpopuler,” February, 16th 2022, 2021. [Online]. Available: https://www.solopos.com/dipakai-938-pengguna-internet-indonesia-YouTube-jadi-medsos-terpopuler-1107625. [Accessed: 09-Nov-2022].
[3] I. Zharfan and Ferlangga, “Youtube Jadi Raja Media Sosial Di Indonesia, Diakses 94 Persen Warga,” August, 25th 2022, 2022. [Online]. Available: https://student-activity.binus.ac.id/himti/2022/08/25/YouTube-jadi-raja-media-sosial-di-indonesia-diakses-94-persen-warga/. [Accessed: 11-Nov-2022].
[4] I. Afdhal, R. Kurniawan, I. Iskandar, R. Salambue, E. Budianita, and F. Syafria, “Penerapan Algoritma Random Forest Untuk Analisis Sentimen Komentar Di YouTube Tentang Islamofobia,” J. Nas. Komputasi dan Teknol. Inf., vol. 5, no. 1, pp. 122–130, 2022.
[5] A. Ardwi, “5 Fakta Larangan Penggunaan Obat Sirop Menurut Edaran Kemenkes,” 2022. [Online]. Available: https://satukanal.com/baca/fakta-larangan-obat-sirop/92926/. [Accessed: 05-Nov-2022].
[6] I. T. Julianto, D. Kurniadi, M. R. Nashrulloh, and A. Mulyani, “Comparison Of Classification Algorithm And Feature Selection In Bitcoin Sentiment Analysis,” J. Tek. Inform., vol. 3, no. 3, pp. 739–744, 2022.
[7] D. A. Fitri and A. Putri, “Analisis Sentimen Pengguna Aplikasi Google Meet Menggunakan Algoritma Support Vector Machine,” J. Comput. Sci. Inf. Technol. ( CoSciTech ), vol. 3, no. 3, pp. 472–478, 2022.
[8] P. Karthika, R. Murugeswari, and R. Manoranjithem, “Sentiment Analysis of Social Media Network Using Random Forest Algorithm,” 2019 IEEE Int. Conf. Intell. Tech. Control. Optim. Signal Process., pp. 1–5, 2019.
[9] G. Khanvilkar and D. Vora, “Smart Recommendation System based on Product Reviews using Random Forest,” 2019 Int. Conf. Nascent Technol. Eng., pp. 1–9, 2019.
[10] D. Pramadhana, “Klasifikasi Penyakit Diabetes Menggunakan Metode CFS dan ROS dengan Algoritma J48 Berbasis Adaboost,” Edumatic J. Pendidik. Inform., vol. 5, no. 1, pp. 89–98, 2021.
[11] Kusrini and M. Mashuri, “Sentiment Analysis In Twitter Using Lexicon Based and Polarity Multiplication,” IEEE, Yogyakarta, Indonesia, 2019.
[12] D. F. Zhafira, B. Rahayudi, and Indriati, “Analisis Sentimen Kebijakan Kampus Merdeka Menggunakan Naive Bayes Dan Pembobotan Tf-Idf Berdasarkan Komentar Pada Youtube,” J. Sist. Informasi, Teknol. Informasi, dan Edukasi Sist. Inf., vol. 2, no. 1, pp. 55–63, 2021.
[13] Surohman, S. Aji, Rousyati, and F. F. Wati, “Analisa Sentimen Terhadap Review Fintech Dengan Metode Naive Bayes Classifier Dan K- Nearest Neighbor,” Evolusi J. Sains dan Manaj., vol. 8, no. 1, pp. 93–105, 2020.
[14] B. M. Pintoko and K. M. L, “Analisis Sentimen Jasa Transportasi Online pada Twitter Menggunakan Metode Naïve Bayes Classifier,” e-Proceeding Eng., vol. 5, no. 3, pp. 8121–8130, 2018.
[15] S. J. S. Tyas, M. Febianah, F. Solikhah, A. L. Kamil, and W. A. Arifin, “Analisis Perbandingan Algoritma Naive Bayes Dan C.45 Dalam Klasifikasi Data Mining Untuk Memprediksi Kelulusan,” Temat. - J. Teknol. Inf. Dan Komun., vol. 8, no. 1, pp. 96–103, 2021.
[16] S. G. Kaparang, D. R. Kaparang, and V. P. Rantung, “Analisis Sentimen New Normal Pada Masa Covid-19 Menggunakan Algoritma Naïve Bayes,” JOINTER – J. INFORMATICS Eng., vol. 02, no. 01, pp. 16–23, 2021.
[17] R. Azhar, A. Surahman, and C. Juliane, “Analisis Sentimen Terhadap Cryptocurrency Berbasis Python TextBlob Menggunakan Algoritma Naïve Bayes,” J. Sains Komput. Inform., vol. 6, no. 1, pp. 267–281, 2022.
[18] E. P. Nirwandani, Indriati, and R. C. Wihandika, “Analisis Sentimen Pada Ulasan Pengguna Aplikasi Mandiri Online Menggunakan Metode Modified Term Frequency Scheme Dan Naïve Bayes,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 5, no. 3, pp. 1039–1047, 2021.
[19] H. Prasetyo, G. A. Buntoro, D. Mustikasari, “Analisis Sentimen Pada Channel Autonetmagz Terhadap Review Mobil Almaz 2019 Dengan Metode Naive Bayes Classifier Dan Lexicon Based,” J. Tek. Univ. Muhammadiyah Ponorogo, vol. 4, no. 1, pp. 58–73, 2020.
[20] A. Shiddicky and S. Agustian, “Analisis Sentimen Masyarakat Terhadap Kebijakan Vaksinasi Covid-19 Pada Media Sosial Twitter Menggunakan Metode Logistic Regression,” J. Comput. Sci. Inf. Technol., vol. 3, no. 2, pp. 99–106, 2022.
[21] A. Deolika, Kusrini, and E. T. Luthfi, “Analisis Pembobotan Kata Pada Klasifikasi Text Mining,” J. Teknol. Inf., vol. 3, no. 2, pp. 179–184, 2019.
[22] C. Dabas, P. Kaur, N. Gulati, and M. Tilak, “Analysis of Comments on YouTube Videos using Hadoop,” Fifth Int. Conf. Image Inf. Process., pp. 353–358, 2019.
Published
2023-05-01
How to Cite
Fitri Wulandari, Elin Haerani, Muhammad Fikry, & Elvia Budianita. (2023). Sentiment analysis of medicine syrup prohibition using naive bayes classifier algorithm. Jurnal CoSciTech (Computer Science and Information Technology), 4(1), 88-96. https://doi.org/10.37859/coscitech.v4i1.4781
Abstract views: 257 , PDF downloads: 326