Social Media Sentiment Analysis Using Convolutional Neural Network (CNN) and Gated Recurrent Unit (GRU)

Ahmad Zahri Ruhban Adam, Erwin Budi Setiawan

Abstract


The advancing technologies are aimed to maximize human performance. One of the great developments in technology is social media. The social media used in this study is Twitter because most people in Indonesia give their opinions to the public through tweets. The opinions given are very diverse, where they write positive, negative, and neutral opinions. The purpose of this study is to analyze the sentiments of the opinions given by the public in Bahasa Indonesia. To conduct sentiment analysis, tweets are collected by crawling the data. Tweets are then labeled positive, negative, and neutral and then represented as 1, -1, and 0. The method used to classify tweet sentiment is the Convolutional Neural Network (CNN) and Gated Recurrent Unit method (GRU). Research stages including feature selection, feature expansion, preprocessing and balancing with SMOTE. The highest accuracy value obtained on the CNN-GRU model with an accuracy value of 97.58% value. Based on these tests, it can be concluded that sentiment analysis research on Twitter social media using the Convolutional Neural Network and Gated Recurrent Unit methods can produce fairly high accuracy, and feature expansion testing of the deep learning model can provide a significant increase in accuracy values.

Keywords


Convolutional neural network; Gated recurrent unit; Sentiment analysis; Feature expansion; Twitter

Full Text:

PDF


DOI: http://dx.doi.org/10.26555/jiteki.v9i1.25813

Refbacks

  • There are currently no refbacks.


Copyright (c) 2023 Ahmad Zahri Ruhban Adam

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


 
About the JournalJournal PoliciesAuthor Information
 


Jurnal Ilmiah Teknik Elektro Komputer dan Informatika
ISSN 2338-3070 (print) | 2338-3062 (online)
Organized by Electrical Engineering Department - Universitas Ahmad Dahlan
Published by Universitas Ahmad Dahlan
Website: http://journal.uad.ac.id/index.php/jiteki
Email 1: jiteki@ee.uad.ac.id
Email 2: alfianmaarif@ee.uad.ac.id
Office Address: Kantor Program Studi Teknik Elektro, Lantai 6 Sayap Barat, Kampus 4 UAD, Jl. Ringroad Selatan, Tamanan, Kec. Banguntapan, Bantul, Daerah Istimewa Yogyakarta 55191, Indonesia