Analisis Sentimen Twitter: Penanganan Pandemi Covid-19 Menggunakan Metode Hybrid Naïve Bayes, Decision Tree, Dan Support Vector Machine
DOI:
https://doi.org/10.34818/eoe.v9i3.17984Abstract
Abstrak Indonesia menduduki peringkat keenam sebagai negara dengan pengguna media sosial Twitter terbanyak.Pada bulan Desember 2019, sebuah virus yang dijuluki COVID-19 muncul dan mulai menyebar ke hampirseluruh penjuru dunia. Penulis bermaksud untuk melakukan analisis sentimen pengguna Twitter tentang penanganan COVID-19 di Indonesia serta membandingkan hasil akurasi dari model hybrid (Stacking Ensemble) dan modelmodel individu lainnya. Model-model klasifikasi machine learning individu mempunyai kelebihan dan kekurangannya masing-masing, dan setiap modelnya mempunyai karakteristik yang berbeda dalam menjalankan proses klasifikasi. Penulis menggunakan Stacking Ensemble sebagai model klasifikasi hybrid. Stacking Ensemble bekerja dengan cara mengkombinasikan hasil prediksi dari model klasifikasi lainnya. Kemudian hasil tersebut akan dikombinasikan dengan metaclassifier (Logistic Regression) dengan tujuan untuk mendapatkan hasil prediksi akhir yang lebih akurat dibanding dengan hasil klasifikasi model tunggal. Dari penelitian ini, ditemukan bahwa reaksi umum pengguna Twitter di Indonesia terhadap penanganan COVID-19 di Indonesia secara umum adalah positif, dengan presentase sentimen positif 75.3% dan 60.39%. Sehingga, dapat disimpulkan bahwa penganganan COVID-19 di Indonesia dianggap baik oleh masyarakat Indonesia. Selain itu, ditemukan bahwa metode hybrid Stacking Ensemble dapat meningkatkan nilai akurasi yang dihasilkan oleh classifiers individu lainnya, dengan perbedaan 0.63% dan 1.02%. Kata kunci: analisis sentimen, COVID-19, hybrid, Stacking EnsembleReferences
[1] H. Tankovska, "Statista," 9 February 2021. [Online]. Available: https://www.statista.com/statistics/242606/number-of-active-twitter-users-in-selected-countries/. [Accessed 2 May 2021].
[2] WHO, "WHO," 1 May 2021. [Online]. Available: https://www.who.int/countries/idn/. [Accessed 2 May 2021].
[3] Z. T. Soomro, S. H. W. Ilyas and U. Yaqub, "Sentiment, Count and Cases: Analysis of Twitter discussions during COVID-19 Pandemic," in 2020 7th International Conference on Behavioural and Social Computing (BESC), Bournemouth, United Kingdom, 2020.
[4] L. Mandloi and R. Patel, "Twitter Sentiments Analysis Using Machine Learning Methods," in 2020 International Conference for Emerging Technology (INCET), Belgaum, India, 2020.
[5] J. Burrell, "How the machine 'thinks: Understanding opacity in machine learning algorithms.," Big Data & Society , p. 3, 2016.
[6] S. Kumar and R. Singh, "Comparative analysis of ensemble classifiers for sentiment analysis and opinion mining.," in 3rd International Conference on Advances in Computing,Communication & Automation (ICACCA) , Dehradun, India, 2017 .
[7] N. Abaeikoupaei and H. Al Osman, "A Multi-Modal Stacked Ensemble Model for Bipolar Disorder Classification.," IEEE Transactions on Affective Computing, p. 1, 2020.
[8] B. Liu, Sentiment Analysis and Opinion Mining, Chicago: University of Illinois: Morgan & Claypool Publisher, 2012.
[9] R. Feldman, "Techniques and Applications for Sentiment Analysis," Communications of the ACM, pp. 82- 89, 2013.
[10] V. A. Fitri, R. Andreswari and M. A. Hasibuan, "Sentiment Analysis of Social Media Twitter with a case of anti-LGBT Campaign in Indonesia using Naive Bayes, Decision Tree, and Random Forest Algorithm," Procedia Computer Science, vol. 161, pp. 765-772, 2019.
[11] Z. H. Zhou, " Ensemble learning," Encyclopedia of Biometrics, p. 270–273, 2009.
[12] N. F. F. da Silva, E. R. Hruschka and J. E. R. Hruschka, "Tweet sentiment analysis with classifier ensembles," Decision Support, no. 66, p. 170–179, 2014.
[13] V. M., J. Vala and a. P. Balani, "A Survey on Sentiment Analysis," International Journal of Computer Applications, vol. 133, no. 9, pp. 7-11, 2016.
[14] A. M. Rahat, A. Kahir and A. K. M. Masum, "Comparison of Naive Bayes and SVM Algorithm based on Sentiment Analysis Using Review Dataset," in 2019 8th International Conference System Modeling and Advancement in Research Trends (SMART), Moradabad, 2019.
[15] N. K. Othman, M. Hussin and R. A. R. Mahmood, "Sentiment Evaluation of Public Transport in Social," International Journal of Engineering and Advanced Technology (IJEAT), vol. 9, no. 1, pp. 2305-2308, 2019.
[16] H. Yousef, A. &. Medhat, W. &. Mohamed and Hoda., "Sentiment Analysis Algorithms and Applications: A Survey," Ain Shams Engineering Journal, vol. 4, pp. 1093-1113, 2016.
[17] A. Mccallum and K. Nigam, "A Comparison of Event Models for Naive Bayes," in AAA-I 98 workshop on Learning for Text Categorization, Madison, 2001.
[18] S. S. Nazrul, "Multinomial Naïve Bayes Classifier for Text," Toward Data Science , [Online]. Available: https://towardsdatascience.com/multinomial-naive-bayes-classifier-for-text-analysis-python- 8dd6825ece67.
[19] O. Somantri and D. Dairoh, "Analisis Sentimen Penilaian Tempat Tujuan Wisata Kota Tegal Berbasis Text Mining," Jurnal Edukasi dan Penelitian Informatika, vol. V, no. 2, p. 191, 2019.
[20] D. Ignatov and A. Ignatov, "Decision Stream: Cultivating Deep Decision Trees," 2017 IEEE 29th International Conference on Tools with Artificial Intelligence (ICTAI), pp. 905-912, 2017.
[21] S. K. Lidya, O. S. Sitompul and a. S. Efendi, "Sentiment Analysis Pada Teks Bahasa Indonesia Menggunakan Support Vector Machine (SVM)," Semin. Nas. Teknol. dan Komun, p. 1–8, 2015.
[22] U. Makhmudah, S. Bukhori, J. A. Putra and a. B. A. B. Yudha, "Sentiment Analysis Of Indonesian Homosexual Tweets Using Support Vector Machine Method," in : 2019 International Conference on Computer Science, Information Technology, and Electrical Engineering (ICOMITEE), Jember, 2019.
[23] S. Rana and A. Singh, "Comparative analysis of sentiment orientation using SVM and Naive Bayes techniques," 2nd International Conference on Next Generation Computing Technologies (NGCT), pp. 106- 111, 2016.
[24] S. Tripathi, R. Mehrotra, V. Bansal and S. Upadhyay, "Analyzing Sentiment using IMDb Dataset," in 12th International Conference on Computational Intelligence and Communication Networks (CICN), Bhimtal, 2020.
[25] Imamah and F. H. Rachman, "Twitter Sentiment Analysis of Covid-19 Using Term Weighting TF-IDF And Logistic Regresion," in 6th Information Technology International Seminar (ITIS), Surabaya, 2020 .
[26] A. Poornima and K. S. Priya, "A Comparative Sentiment Analysis Of Sentence Embedding Using Machine Learning Techniques," in 6th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, 2020 .
[27] "Komite Penanganan COVID-19 dan Pemulihan Ekonomi Nasional," 2 May 2021 . [Online]. Available: https://covid19.go.id/peta-sebaran-covid19. [Accessed 2 May 2021].
[28] O. Somantri and D. Dairoh, "Analisis Sentimen Penilaian Tempat Tujuan Wisata Kota Tegal Berbasis Text Mining," Jurnal Edukasi dan Penelitian Informatika, vol. 5, no. 2, p. 191, 2019.
[29] I. C. Setia, "Support Vector Machine : SVM Implementation using Python," [Online]. Available: https://insancs.medium.com/support-vector-machine-svm-implementation-using-python-4442e9a5babc.



