Implementation of Naive Bayes Algorithm and Support Vector Machine for Public Sentiment Analysis towards Imported Clothing Ban
DOI:
https://doi.org/10.55606/jeei.v2i3.313Keywords:
Imported Used Clothing, Naïve Bayes, Sentiment Analysis, Support Vector Machine, TwitterAbstract
This research was conducted to find out the public's opinion on the Issue of Imported Clothing on Twitter social media. One of the algorithms that can be used to carry out sentiment analysis is Naïve Bayes and Support VectorMachine. In this research the author aims to use the Naïve Bayes Algorithm and Support Vector Machine in analyzing positive and negative sentiment labels. The final result of the comparison with these two test methods, namely the prediction of public sentiment on the issue of imported clothing based on data obtained from Twitter and implemented using the SVM (Support Vector Machine) method, shows an accuracy value of 87.89%. Of the 603 test data, it is predicted that 194 data are Positive Sentiment and 409 data are Negative Sentiment. For prediction results from Negative Sentiment, there are 603 data predicted Negative and 2 data predicted Positive. and the Naive Bayes method shows an accuracy value of 97.01%. Of the 603 test data, it is predicted that 409 data are Negative Sentiment and 194 data are Positive Sentiment.
References
[1] S. Nurul, J. Fitriyyah, N. Safriadi, and E. Esyudha, “Analisis Sentimen Calon Presiden Indonesia 2019 dari Media Sosial Twitter Menggunakan Metode Naive Bayes,” J. Edukasi dan Penelit. Inform., vol. 5, no. 3, pp. 279–285, 2019, doi: 10.26418/jp.v5i3.34368.
[2] F. Fatimah, R. Agustiansyah, and A. Musnansyah, “Analisis Sentimen Terhadap Pemilihan Gubernur Provinsi Sulawesi Selatan Tahun 2018 Menggunakan Data Twitter dan Metode Sentiment Lexicon,” e-Proceeding Eng., vol. 6, no. 1, pp. 1928–1934, 2019.
[3] M. I. Petiwi, A. Triayudi, and I. D. Sholihati, “Analisis Sentimen GoFood Berdasarkan Metode Naïve Bayes dan Support Vector Machine,” J. Media Inform. Budidarma, vol. 6, no. 1, pp. 542–550, 2022, doi: 10.30865/mib.v6i1.3530.
[4] M. I. Fikri, T. S. Sabrila, and Y. Azhar, “Perbandingan Metode Naïve Bayes dan Support Vector Machine pada Analisis Sentimen Twitter,” Smatika J., vol. 10, no. 02, pp. 71–76, 2020, doi: 10.32664/smatika.v10i02.455.
[5] C. F. Hasri and D. Alita, “Penerapan Metode Naive Bayes Classifier dan Support Vector Machine pada Analisis Sentimen Terhadap Dampak Virus Corona di Twitter,” J. Inform. dan Rekayasa Perangkat Lunak, vol. 3, no. 2, pp. 145–160, 2022.
[6] P. Arsi and R. Waluyo, “Analisis Sentimen Wacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM),” J. Teknol. Inf. dan Ilmu Komput., vol. 8, no. 1, pp. 147–154, 2021, doi: 10.25126/jtiik.0813944.
[7] H. Setiawan, E. Utami, and S. Sudarmawan, “Analisis Sentimen Twitter Kuliah Online Pasca Covid-19 Menggunakan Algoritma Support Vector Machine dan Naive Bayes,” J. Komtika (Komputasi dan Inform., vol. 5, no. 1, pp. 43–51, 2021, doi: 10.31603/komtika.v5i1.5189.
[8] H. Herlawati, R. T. Handayanto, P. D. Atika, F. N. Khasanah, A. Y. P. Yusuf, and D. Y. Septia, “Analisis Sentimen Pada Situs Google Review dengan Naïve Bayes dan Support Vector Machine,” J. Komtika (Komputasi dan Inform., vol. 5, no. 2, pp. 153–163, 2021, doi: 10.31603/komtika.v5i2.6280.
[9] D. Rusdiaman and D. Rosiyadi, “Analisa Sentimen Terhadap Tokoh Publik Menggunakan Metode Naive Bayes Classifier dan Support Vector Machine,” CESS (Journal Comput. Eng. Syst. Sci., vol. 4, no. 2, pp. 230–235, 2019.
[10] N. Herlinawati, Y. Yuliani, S. Faizah, W. Gata, and S. Samudi, “Analisis Sentimen Zoom Cloud Meetings di Play Store Menggunakan Naive Bayes dan Support Vector Machine,” CESS (Journal Comput. Eng. Syst. Sci., vol. 5, no. 2, p. 293, 2020, doi: 10.24114/cess.v5i2.18186.
[11] C. H. Yutika, A. Adiwijaya, and S. Al Faraby, “Analisis Sentimen Berbasis Aspek pada Review Female Daily Menggunakan TF-IDF dan Naïve Bayes,” J. Media Inform. Budidarma, vol. 5, no. 2, pp. 422–430, 2021, doi: 10.30865/mib.v5i2.2845.
[12] R. T. Aldisa and P. Maulana, “Analisis Sentimen Opini Masyarakat Terhadap Vaksinasi Booster COVID-19 Dengan Perbandingan Metode Naive Bayes, Decision Tree dan SVM,” Build. Informatics, Technol. Sci., vol. 4, no. 1, pp. 106–109, 2022, doi: 10.47065/bits.v4i1.1581.
[13] L. Oktasari, Y. H. Chrisnanto, and R. Yuniarti, “Text Mining Dalam Analisis Sentimen Asuransi Menggunakan Metode Naive Bayes Classifier,” in Prosiding SNST, 2016, pp. 37–42.
[14] M. Lestandy, B. Abdurrahim, and L. Syafa’ah, “Analisis Sentimen Tweet Vaksin COVID-19 Menggunakan Recurrent Neural Network dan Naïve Bayes,” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 5, no. 4, pp. 802–808, 2021, doi: 10.29207/resti.v5i4.3308.
[15] J. W. Iskandar and Y. Nataliani, “Perbandingan Naïve Bayes, SVM, dan K-NN untuk Analisis Sentimen Gadget Berbasis Aspek,” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 5, no. 6, pp. 1120–1126, 2021, doi: 10.29207/resti.v5i6.3588.
[16] L. B. Ilmawan and M. A. Mude, “Perbandingan Metode Klasifikasi Support Vector Machine dan Naive Bayes untuk Analisis Sentimen pada Ulasan Tekstual di Google Play Store,” Ilk. J. Ilm., vol. 12, no. 2, pp. 154–161, 2020, doi: 10.33096/ilkom.v12i2.597.154-161.
[17] E. Fitri, “Analisis Sentimen Terhadap Aplikasi Ruangguru Menggunakan Algoritma Naive Bayes, Random Forest dan Support Vector Machine,” J. Transform., vol. 18, no. 1, pp. 71–79, 2020, doi: 10.26623/transformatika.v18i1.2317.



.png)
.png)

