Please use this identifier to cite or link to this item:
https://hdl.handle.net/10356/181153
Title: | Sentiment analysis and topic modelling of 2024 U.S. and Indonesian election tweets: a study of political discourse and public opinion | Authors: | Widawati, Elisia Brispalma | Keywords: | Computer and Information Science | Issue Date: | 2024 | Publisher: | Nanyang Technological University | Source: | Widawati, E. B. (2024). Sentiment analysis and topic modelling of 2024 U.S. and Indonesian election tweets: a study of political discourse and public opinion. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/181153 | Project: | CCDS24-0831 | Abstract: | This study investigates the effectiveness of various deep learning architectures and statistical models in both sentiment analysis and the temporal analysis of online public discourse through topic modelling and sentiment forecasting of tweets related to the 2024 Indonesian and U.S. elections. Given the increasing importance of social media platforms like X (Twitter) in shaping political discourse, this research aims to explore how different models perform across diverse linguistic contexts. The study employs Long Short-Term Memory (LSTM) networks, Transformer models (IndoBERTweet and BERTweet), and Large Language Models (LLM) like GPT-4o for sentiment analysis, BERTopic leveraging Transformers and LLM for topic modelling, and Seasonal AutoRegressive Integrated Moving Average (SARIMA) model for sentiment forecasting. Data was collected using the Tweet Harvest tool, focusing on tweets with specific keywords related to the elections, and analysed across different time periods to capture the evolution of public sentiment and key themes. The sentiment classification models were evaluated using accuracy, precision, recall, and F1-score metrics; the topic models were assessed for coherence and diversity; and the SARIMA models were evaluated by their fit and residual diagnostics. Results demonstrate that LLMs significantly outperform LSTM and Transformer models in sentiment classification; BERTopic successfully captures the dynamic shifts in conversations, highlighting the evolving focus on key election-related issues; and SARIMA models fairly reliably forecast sentiment trends, though they struggle with predicting extreme fluctuations. These findings underscore the importance of combining advanced LLMs and topic modelling techniques with forecasting to provide a nuanced understanding of public sentiment and discourse and inform future research and applications in these areas. | URI: | https://hdl.handle.net/10356/181153 | Schools: | College of Computing and Data Science | Fulltext Permission: | restricted | Fulltext Availability: | With Fulltext |
Appears in Collections: | CCDS Student Reports (FYP/IA/PA/PI) |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
FYP_Report_CCDS24-0831.pdf Restricted Access | FYP Report | 15.19 MB | Adobe PDF | View/Open |
Page view(s)
185
Updated on May 7, 2025
Download(s)
18
Updated on May 7, 2025
Google ScholarTM
Check
Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.