Perbandingan Metode Naive Bayes dan Support Vector Machine (SVM) untuk Opini Publik Mengenai Gaji DPR RI di Media Sosial

TABALA, Elga Afliana (2026) Perbandingan Metode Naive Bayes dan Support Vector Machine (SVM) untuk Opini Publik Mengenai Gaji DPR RI di Media Sosial. Undergraduate thesis, Universitas Katolik Widya Mandira.

[img] Text
ABSTRAK.pdf

Download (1MB)
[img] Text
BAB I.pdf

Download (343kB)
[img] Text
BAB II.pdf
Restricted to Repository staff only

Download (429kB)
[img] Text
BAB III.pdf
Restricted to Repository staff only

Download (575kB)
[img] Text
BAB IV.pdf
Restricted to Repository staff only

Download (1MB)
[img] Text
BAB V.pdf

Download (132kB)
[img] Text
DAFTAR PUSTAKA & SURAT BEBAS PLAGIASI.pdf

Download (224kB)

Abstract

Analyzes public sentiment regarding Indonesian House of Representatives (DPR RI) salaries/allowances on X (Twitter) and compares the performance of Naïve Bayes and Support Vector Machine (SVM) for classifying sentiments into positive, negative, and neutral. The data were collected through a crawling process using tweet-harvest@latest during August 25, 2025–October 29, 2025, resulting in 1,500 Indonesian-language tweets. Sentiment labels were assigned manually into three classes (positive=1, negative=2, neutral=3), after which the data underwent cleaning and preprocessing (case folding, punctuation removal, stopword removal, tokenizing, and normalization/stemming) and were represented using TF– IDF weighting. The dataset was split into 80% training data (1,032 tweets) and 20% testing data (259 tweets) for model training and evaluation. The results show that public sentiment is predominantly negative at 89.47% (1,500 items), followed by positive at 6.20% (80 items) and neutral at 4.34% (56 items). Performance evaluation indicates that Naïve Bayes achieved 76% accuracy, while SVM achieved 91% accuracy, demonstrating that SVM provides better overall performance on the study dataset

Item Type: Thesis (Undergraduate)
Uncontrolled Keywords: Sentiment Analysis, Naive bayes, Support Vector Machine, TF-IDF, DPR Salary, Social Media
Subjects: Q Science > QA Mathematics > QA75 Electronic computers. Computer science
Q Science > QA Mathematics > QA76 Computer software
Divisions: Fakultas Teknik > Program Studi Ilmu Komputer
Depositing User: ELGA AFLIANA TABALA
Date Deposited: 17 Mar 2026 07:30
Last Modified: 17 Mar 2026 07:30
URI: http://repositori.unwira.ac.id/id/eprint/24382

Actions (login required)

View Item View Item