Journal of Emerging Information Systems and Business Intelligence (JEISBI)
Vol. 7 No. 2 (2026): Vol. 07 Issue 02

Sentiment Analysis of Public Figures on X Using Naïve Bayes and SVM

Putra, Muhammad Hashfiudin Tridharma (Unknown)
Indriyanti, Aries Dwi (Unknown)



Article Info

Publish Date
28 Apr 2026

Abstract

The rapid growth of social media has created an open public space where users freely express opinions toward public figures, generating positive, negative, and neutral sentiments. Platform X [Formerly Twitter] is one of the most widely used media for public discourse in Indonesia. This study analyzes public sentiment toward the Regent of Sidoarjo for the 2021–2024 period, Ahmad Muhdlor Ali, using sentiment classification techniques. The research applies two machine learning algorithms, namely the Naïve Bayes Classifier (NBC) and Support Vector Machine (SVM), to identify and compare their performance in sentiment analysis. Data were collected through web scraping using relevant keywords and processed in Google Colab. A quantitative research approach was employed using the SEMMA framework, which consists of Sample, Explore, Modify, Model, and Assess stages. The process included data cleaning, text preprocessing, sentiment labeling, and classification using both algorithms. Model performance was evaluated using accuracy, precision, and recall metrics. The results show that both NBC and SVM perform well in classifying public sentiment, achieving high accuracy levels. However, differences in performance were observed between the two methods, indicating that algorithm selection influences classification outcomes. This study contributes to the evaluation of public perception toward government officials and provides a reference for the development of sentiment analysis systems based on social media data.

Copyrights © 2026






Journal Info

Abbrev

JEISBI

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Languange, Linguistic, Communication & Media Library & Information Science

Description

Journal of Emerging Information Systems and Business Intelligence (JEISBI) aims to provide scholarly literature focused on studies and research in the fields of Information Systems (IS) and Business Intelligence (BI). This journal also includes public reviews on the development of theories, methods, ...