EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Public Political Sentiment Post 2024 Presidential Election: Comparison of Naïve Bayes and Support Vector Machine

Widya Yudha Patria, Putu Harry Gunawan, Narita Aquarini

Building of Informatics, Technology and Science (BITS) · 01.03.2025 · 6 (4) · 2270-2277

DOI: 10.47065/bits.v6i4.6734 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Building of Informatics, Technology and Science (BITS), online erschienen am 01.03.2025. Verfasst von Widya Yudha Patria und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

One nation with a democratic political system is Indonesia. The public is able to express themselves freely. The public's use of social media is expanding quickly, particularly among users of platform ‘X’. The now trending tweets concern the 2024 presidential election. The reaction to the results of the 2024 presidential election has ranged from positive to negative to neutral. Large numbers of tweets can be used as a source of information to do their sentiments analysis. It is possible to know if people, in general, are satisfied or unsatisfied with the outcome of the presidential election thanks to the emotion categorization. This study aims to analyze public sentiment regarding the election result utilizing machine learning methods which will provide insights into public opinion that can be useful in political strategy as well as in public discourse assessment. In this paper, we will compare the Naïve Bayes Classifier (NBC) and the Support Vector Machine (SVM) algorithms for tweet classification of platform ‘X’ sentiment. This study presents the performed data analysis on 2193 data points (from platform X) that have been classified into neutral, positive, and negative categories using the Naive Bayes Classifier (NBC) and Support Vector Machine (SVM) techniques. Balancing SMOTE is used to address data imbalance, and TF-IDF is applied for feature extraction. Results depicts that Naïve Bayes Classifier (NBC) gives an accuracy of 62.41% whereas Support Vector Machine (SVM) gives 62.19% accuracy. This accuracy on these creations demonstrates how able models can be when classifying varying public sentiments between political events, highlighting the abilities, but also weaknesses of such efforts in sentiment classification. This paper contributes to the further development of sentiment analysis by providing an assessment of how effective these algorithms are, and by stressing the need for unbalance data treatment on research utilizing social media.

Zitieren

APA

Patria, W. Y., Gunawan, P. H., & Aquarini, N. (2025). Public Political Sentiment Post 2024 Presidential Election: Comparison of Naïve Bayes and Support Vector Machine. Building of Informatics, Technology and Science (BITS), 6(4), 2270-2277. https://doi.org/10.47065/bits.v6i4.6734

Vancouver

Patria WY, Gunawan PH, Aquarini N. Public Political Sentiment Post 2024 Presidential Election: Comparison of Naïve Bayes and Support Vector Machine. Building of Informatics, Technology and Science (BITS). 2025;6(4):2270-2277. doi:10.47065/bits.v6i4.6734

BibTeX
@article{Patria2025,
  author = {Patria, Widya Yudha and Gunawan, Putu Harry and Aquarini, Narita},
  title = {Public Political Sentiment Post 2024 Presidential Election: Comparison of Naïve Bayes and Support Vector Machine},
  journal = {Building of Informatics, Technology and Science (BITS)},
  year = {2025},
  volume = {6},
  number = {4},
  pages = {2270--2277},
  doi = {10.47065/bits.v6i4.6734}
}
Kostenlos starten →