EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Analisis Sentimen Masyarakat Terhadap RUU Pilkada 2024 di Media Sosial Instagram Menggunakan Metode Naïve Bayes, KNN dan SVM

Brendenly Manik, Sintaria Sembiring

TeIKa · 20.01.2026 · 15 (2) · 34-48

DOI: 10.36342/3x3m4109 ↗

Kurz gefasst

Fachartikel in der Zeitschrift TeIKa, online erschienen am 20.01.2026. Verfasst von Brendenly Manik und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Social media now plays a crucial role as a platform for the public to voice opinions and views on public issues, including political policies such as the Draft Law on Regional Head Elections (RUU Pilkada). This study analyzes the performance of the Naïve Bayes, SVM, and KNN algorithms in classifying public sentiment towards the 2024 Regional Election Bill (RUU Pilkada) using two data labeling methods: manual and lexicon-based labeling. A total of 15,202 Instagram comments from Tempo.co, Kompas.com, and TvOnenews were analyzed, with 80% used as training data and 20% as testing data. The results show that SVM demonstrated the most consistent performance across both methods, achieving the highest accuracy of 78%. Naïve Bayes exhibited sensitivity to the labeling method, achieving 74% accuracy with lexicon-based labeling and 71% with manual labeling. KNN recorded the lowest performance, especially with lexicon-based labeling, achieving only 64% accuracy. The lexicon-based labeling method improved precision, recall, and F1-score across all algorithms, with SVM achieving the highest precision, recall, and F1-score at 76%, 76%, and 75%, respectively. This study highlights the significant impact of the labeling method on model performance, with lexicon-based labeling proving to be more effective in improving the quality of sentiment classification.

Zitieren

APA

Manik, B., & Sembiring, S. (2026). Analisis Sentimen Masyarakat Terhadap RUU Pilkada 2024 di Media Sosial Instagram Menggunakan Metode Naïve Bayes, KNN dan SVM. TeIKa, 15(2), 34-48. https://doi.org/10.36342/3x3m4109

Vancouver

Manik B, Sembiring S. Analisis Sentimen Masyarakat Terhadap RUU Pilkada 2024 di Media Sosial Instagram Menggunakan Metode Naïve Bayes, KNN dan SVM. TeIKa. 2026;15(2):34-48. doi:10.36342/3x3m4109

BibTeX
@article{Manik2026,
  author = {Manik, Brendenly and Sembiring, Sintaria},
  title = {Analisis Sentimen Masyarakat Terhadap RUU Pilkada 2024 di Media Sosial Instagram Menggunakan Metode Naïve Bayes, KNN dan SVM},
  journal = {TeIKa},
  year = {2026},
  volume = {15},
  number = {2},
  pages = {34--48},
  doi = {10.36342/3x3m4109}
}
Kostenlos starten →