Moh Hadi Subowo
Unknown Affiliation

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Using 2024 election twitter data, sentiment analysis based on TF-IDF and Naïve Bayes Moh Hadi Subowo; Alzami, Farrikh
Moneter: Jurnal Keuangan dan Perbankan Vol. 12 No. 2 (2024): JULI
Publisher : Universitas Ibn Khladun Bogor

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.32832/moneter.v12i2.789

Abstract

This research explores sentiment analysis within the context of the 2024 Presidential Election, utilizing tweet data to understand public opinion dynamics. The study employs the Naive Bayes classification algorithm combined with Term Frequency-Inverse Document Frequency (TF-IDF) techniques to categorize sentiments into diverse emotional spectrums. During the training phase, the model achieved a high accuracy of 98.3%. However, when applied to real-world data, the accuracy dropped to 80.8%, highlighting the challenges of adapting to unpredictable and heterogeneous data. The evaluation showed the model's effectiveness in recognizing positive sentiments in training data, but a decrease in performance during testing. This underscores the need for dynamic training approaches to handle real-world applications. The study demonstrates that TF-IDF significantly enhances the Naive Bayes classifier's accuracy and that tweet data on the 2024 Presidential Election predominantly exhibit positive sentiments. However, these findings require cautious interpretation due to the complexities of natural language and potential cultural biases in automated sentiment analysis. The research suggests addressing overfitting, diversifying the training corpus, and adopting more sophisticated algorithms to better capture nuanced sentiments. This study lays the groundwork for future research in understanding public opinion during election cycles.