Analisis Sentimen Video YouTube KOMPASTV “Pajak Cekik Rakyat, Tunjangan DPR Naik” Menggunakan Naive Bayes & SVM
DOI:
https://doi.org/10.31316/jdi.v15i1.462Keywords:
Analisis sentimen, Naive Bayes, SVM, YouTube, PajakAbstract
This study aims to analyze public sentiment regarding flooding in Sumatra based on data from social media platform X. Flooding is a frequent natural disaster in Sumatra and elicits a variety of public responses, many of which are expressed through social media. Social media platform X was chosen as the data source because it is open and real-time, allowing it to broadly represent public opinion.
The research data consists of 1,030 Indonesian-language tweets collected through a crawling process using the official API for X, using keywords related to flooding in Sumatra. After data cleaning, 873 tweets were obtained, which were then processed through text mining stages, including text preprocessing, manual sentiment labeling, and dividing the data into training and test data. The training data consisted of 650 tweets, while the test data consisted of 223 tweets.
Sentiment classification was performed using the Naive Bayes algorithm with the assistance of RapidMiner software. Model evaluation was performed using a confusion matrix with accuracy, precision, recall, and F1-score metrics. The results showed that the Naive Bayes algorithm performed quite well in sentiment classification. Furthermore, the analysis shows that public opinion regarding the flooding in Sumatra is dominated by negative sentiment. This research is expected to provide insight into public perceptions and inform disaster management policymaking.
Downloads
Published
Versions
- 2026-03-09 (4)
- 2026-03-04 (3)
- 2026-03-04 (2)
- 2026-03-01 (1)
Issue
Section
License
Copyright (c) 2026 Paulina Gorat Frans

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Authors who publish with this journal agree to the following terms:
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
