Sentiment Analysis Tweet Pilkada 2020 Saat Pandemik COVID-19 di Media Sosial Twitter Menggunakan Metode 1D Convolutional Neural Network

Authors

  • Ganjar Tata Pangestu Universitas Ahmad Dahlan, Yogyakarta
  • Miftahurrahma Rosyda Universitas Ahmad Dahlan, Yogyakarta

DOI:

https://doi.org/10.30865/mib.v6i2.3765

Keywords:

Natural Language Processing, NLP, Sentiment Analysis, Python, 1D Convolutional Neural Network

Abstract

Pilkada 2020 is a debate since it takes place in the midst of the COVID-19 pandemic. The emergence of comments from several social media such as Twitter. There are various public opinions that agree that the Pilkada will still be held, there are also other public opinions that support the postponement of the Pilkada until the COVID-19 pandemic ends. These different opinions require Sentiment Analysis which aims to obtain or find out the general opinion of the 2020 Regional Head Election during the Coronavirus pandemic. A total of 200 data in the form of tweets which are divided into 2 data, namely 20% test data and 80% training data obtained by retrieving data from Twitter using the twint library, based on predetermined keywords. The resulting data set is classified into three classes namely positive, neutral, and negative. In this test or research, deep learning uses the Convolutional Neural Network classification, because it has been proven effective in the case of natural language processing and can get good results in grouping sentences. From this research, the accuracy result is 72.50% with the epoch used is 25 epoch. From the increase in epochs, there is an increase in accuracy of 7-12% from the previous epoch variations.

References

M. Rudiyanto and R. Kasanova, “Dampak Covid-19 Terhadap Implementasi Pendidikan Karakter Impact of Covid-19 on The Implementation of Character Education,†Jurmal Pendidik. dan Teknol. Indones., vol. 1, no. 5, pp. 209–213, 2021.

S. C. Rizki and Y. A. Hilman, “Menakar Perbedaan Opini Dalam Agenda Pelaksanaan Kontestasi Pilkada Serentak Di Tengah Covid-19,†J. Ilm. Muqoddimah J. Ilmu Sos. Polit. dan Hummanioramaniora, vol. 4, no. 2, p. 143, 2020.

A. U. Rehman, A. K. Malik, B. Raza, and W. Ali, “A Hybrid CNN-LSTM Model for Improving Accuracy of Movie Reviews Sentiment Analysis,†Multimed. Tools Appl., vol. 78, no. 18, pp. 26597–26613, 2019.

D. W. Otter, J. R. Medina, and J. K. Kalita, “A Survey of the Usages of Deep Learning for Natural Language Processing,†IEEE Trans. Neural Networks Learn. Syst., vol. 32, no. 2, pp. 604–624, 2021.

A. Rajput, “Natural language processing, sentiment analysis, and clinical analytics,†Innov. Heal. Informatics A Smart Healthc. Prim., no. February, pp. 79–97, 2019.

H. Kim and Y. S. Jeong, “Sentiment classification using Convolutional Neural Networks,†Appl. Sci., vol. 9, no. 11, pp. 1–14, 2019.

S. Sharma, “Epoch vs Batch Size vs Iterations,†2017. [Online]. Available: https://towardsdatascience.com/epoch-vs-iterations-vs-batch-size-4dfb9c7ce9c9. [Accessed: 16-Dec-2021].

D. Wang et al., “Modulation Format Recognition and OSNR Estimation Using CNN-Based Deep Learning,†IEEE Photonics Technol. Lett., vol. 29, no. 19, pp. 1667–1670, 2017.

M. Khader, A. Awajan, and G. Al-Naymat, “The impact of natural language preprocessing on big data sentiment analysis,†Int. Arab J. Inf. Technol., vol. 16, no. 3ASpecial Issue, pp. 506–513, 2019.

A. Bayhaqy, S. Sfenrianto, K. Nainggolan, and E. R. Kaburuan, “Sentiment Analysis about E-Commerce from Tweets Using Decision Tree, K-Nearest Neighbor, and Naïve Bayes,†2018 Int. Conf. Orange Technol. ICOT 2018, no. October, 2018.

M. D. Hisbullah, “Belajar Machine Learning : Natural Language Processing,†202AD. [Online]. Available: https://www.anbidev.com/machine-learning-nlp/. [Accessed: 16-Dec-2021].

M. Rhanoui, M. Mikram, S. Yousfi, and S. Barzali, “A CNN-BiLSTM Model for Document-Level Sentiment Analysis,†Mach. Learn. Knowl. Extr., vol. 1, no. 3, pp. 832–847, 2019.

L. xia Luo, “Network text sentiment analysis method combining LDA text representation and GRU-CNN,†Pers. Ubiquitous Comput., vol. 23, no. 3–4, pp. 405–412, 2019.

A. Pambudi and S. Suprapto, “Effect of Sentence Length in Sentiment Analysis Using Support Vector Machine and Convolutional Neural Network Method,†IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 15, no. 1, p. 21, 2021.

S. N. Listyarini and D. A. Anggoro, “Analisis Sentimen Pilkada di Tengah Pandemi Covid-19 Menggunakan Convolution Neural Network (CNN),†J. Pendidik. dan Teknol. Indones., vol. 1, no. 7, pp. 261–268, 2021.

J. Chen, S. Yan, and K. C. Wong, “Verbal aggression detection on Twitter comments: convolutional neural network for short-text sentiment analysis,†Neural Comput. Appl., vol. 32, no. 15, pp. 10809–10818, 2020.

P. Nyoman and Putu Kusuma Negara, “Deteksi Masker Pencegahan Covid19 Menggunakan Convolutional Neural Network Berbasis Android,†J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 5, no. 3, pp. 576–583, 2021.

D. A. N. Taradhita and I. K. G. D. Putra, “Hate speech classification in Indonesian language tweets by using convolutional neural network,†J. ICT Res. Appl., vol. 14, no. 3, pp. 225–239, 2021.

M. Ahmad, A. Farisi, and W. Astuti, “Klasifikasi Multi-label pada Hadis Sahih Bukhari Terjemahan Bahasa Indonesia Menggunakan Convolutional Neural Networks,†vol. 8, no. 5, pp. 10594–10604, 2021.

Downloads

Published

2022-04-25

Issue

Section

Articles