Comparison of Naive Bayes and Support Vector Machine (SVM) Algorithms Regarding The Popularity of Presidential Candidates In The Upcoming 2024 Presidential Election

Authors

  • Fadli Nurrizky Universitas Mercu Buana
  • Saruni Dwiasnati Universitas Mercu Buana

Keywords:

Naive Bayes, Support Vector Machine, presidential candidate popularity, 2024 Pilpres, accuracy rate, sentiment analysis

Abstract

This study aims to compare the effectiveness of two classification algorithms, Naive Bayes and Support Vector Machine (SVM), in analyzing the popularity of presidential candidates for the 2024 Presidential Election (Pilpres). The popularity of presidential candidates plays a crucial role in campaign strategies and political decision-making in the modern political era. This research utilizes data from social media, encompassing public sentiment towards presidential candidates and related political issues. The research results indicate that SVM achieves an accuracy rate of 97%, while Naive Bayes achieves 95%, demonstrating the superiority of SVM in predicting the popularity of presidential candidates. In conclusion, the selection of the appropriate algorithm for analyzing complex political data has a significant impact, and the high accuracy rates of both algorithms provide valuable guidance for political decisionmakers and campaign teams in preparation for the upcoming 2024 Pilpres.

Downloads

Published

2024-02-01

Issue

Section

Articles