Comparison of Naive Bayes and Support Vector Machine (SVM) Algorithms Regarding The Popularity of Presidential Candidates In The Upcoming 2024 Presidential Election
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 decision-makers and campaign teams in preparation for the upcoming 2024 Pilpres.