Analyzing Election Sentiments in Tweets with Gated Recurrent Units (GRU)
Agu Edward O., Bako Jeremy Zevini, Hambali Moshood Abiola
Asian Journal of Research in Computer Science · pp. 125–132 · Published 12 Oct 2023
10.9734/ajrcos/2023/v16i4376Abstract
Sentiment analysis, a key task in natural language processing, is important for detecting the emotional tone portrayed in text. In this study, we focus on implementing a Gated Recurrent Unit (GRU) model to analyze attitudes within the 2020 Donald Trump Election tweets dataset. By setting the GRU model with carefully selected parameters, the aim of the study is to unveil the inherent sentiment patterns in the dataset. To develop the sentiment analysis model, the study devised a three phase methodology which that include data preprocessing, feature selection using correlation matrix, and lastly the implementation of GRU. Futhermore, we provided the outcomes of our experiment, evaluating the model's performance through important measures such as accuracy, precision, and recall. Notably, our data exhibit an exceptional accuracy rate of 93%, verifying the model's power to appropriately categorize attitudes. Additionally, both recall and precision receive outstanding ratings of 94% and 96%, indicating the model's skill in distinguishing both positive and negative attitudes. This inquiry emphases the effective usage of the GRU model in sentiment analysis, shedding light on the emotional nuances within the 2020 Donald Trump dataset and enriching our understanding of sentiments during the election period.
References (21)
- 1 Deep learning for sentiment analysis: A survey [DOI]
- 2 A survey on sentiment analysis methods, applications, and challenges [DOI]
- 3 Short-term runoff prediction with GRU and LSTM networks without requiring time step optimization during sample generation [DOI]
- 4 A survey on sentiment analysis challenges [DOI]
- 5 Sentiment Analysis of Comment Texts Based on BiLSTM [DOI]
- 6 Artificial Intelligence and Sentiment Analysis: A Review in Competitive Research [DOI]
- 7 Advanced predictive control for GRU and LSTM networks [DOI]
- 8 Arabic aspect based sentiment analysis using bidirectional GRU based models [DOI]
- 9 Text based Sentiment Analysis using LSTM [DOI]
- 10 Aspect-level sentiment analysis with aspect-specific context position information [DOI]
- 11 Sentiment Analysis using Recurrent Neural Network [DOI]
- 12 Sentiment Analysis of before and after Elections: Twitter Data of U.S. Election 2020 [DOI]
- 13 Attention based GRU-LSTM for software defect prediction [DOI]
- 14 Arabic sentiment analysis using recurrent neural networks: a review [DOI]
- 15 Sentiment Analysis on Twitter Data Using Deep Learning approach [DOI]
- 16 Text Classification on Twitter Data [DOI]
- 17 Tweet Sentiment Analysis of the 2020 U.S. Presidential Election [DOI]
- 18 Circularly Polarized Circular Slit Planar Antenna for Vehicular Satellite Applications
- 19 The Driver Time Memory Car-Following Model Simulating in Apollo Platform with GRU and Real Road Traffic Data [DOI]
- 20 Mathematical Problems in Engineering [DOI]
- 21 Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery [DOI]
Cited by 1
Dewi Asiah Shofiana, Rhalasya Eleina Putri, Rahman Taufik · Techno.Com · 2026
Related research
- Estimation of Community Views on Criminal Justice a Statistical Document Analysis Approach — shares topic coverage
- Survey of Methods in Sentiment and Emotional Analysis — shares topic coverage
- Review on Natural Language Processing Based on Different Techniques — shares topic coverage
- Topic Modeling and Sentiment Analysis of Electric Vehicles of Twitter Data — shares topic coverage
- Validation of Some Health Fitness Apps Using Users’ Reviews — shares topic coverage
Article metrics
Real usage data collected on this platform.
33
Page views
0
PDF downloads
3
Outbound clicks
1
Citations
Views over time
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
Traffic sources
Referring site, by host.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.