ANALISIS OPINI PUBLIK TWITTER TERHADAP ISU ENERGI NASIONAL MENGGUNAKAN PENDEKATAN INDOBERT DAN NAÏVE BAYES

Publication Name : PROGRESS
Publisher : P3M STMIK Profesional Makassar

DOI : DOI: 10.56708/progres.v18i2.474

Date : 9 September 2026


The increase in fuel oil prices and electric vehicles has become an issue that continues to develop on Twitter. This study aims to analyze public sentiment regarding fuel oil price increases and Public Electric Vehicle Charging Stations (SPKLU) in Indonesia, comparing the Naive Bayes and IndoBERT methods in sentiment classification. The research method includes tweet data collection, data preprocessing, public sentiment labeling, model training, and performance evaluation using accuracy, precision, recall, and F1-score metrics. The preprocessing stage consists of case folding, tokenization, stopword removal, and stemming of Indonesian-language text. The data consist of 700 tweets collected from Twitter using the keywords related to fuel oil, electric vehicles, and Public Electric Vehicle Charging Stations (SPKLU). The results show that the IndoBERT method has better performance than Naive Bayes in sentiment classification because it is able to understand the context of the Indonesian language. This study is expected to contribute to the development of Indonesian-language sentiment analysis.

Author Order
3 of 4
Year
2026
Source
Vol 18 No 2 (2026): September
Page
104-110