Jurnal Dinamika Informatika (JDI)
Vol. 15 No. 1 (2026): Vol. 15 No. 1 (2026)

Komparasi Algoritma Naive Bayes dan Support Vector Machine pada Analisis Sentimen Komentar Instagram Laga El Clásico Barcelona vs Real Madrid

Maulana, Muhammad Irvan (Unknown)
Savana Putra Aditama (Unknown)
Harun Al Rosyid (Unknown)



Article Info

Publish Date
04 Mar 2026

Abstract

The rapid development of information and communication technology has driven social media to become a primary platform for users to express opinions on various events, including prestigious football matches such as El Clásico between Barcelona and Real Madrid. The high level of interaction among Instagram users generates a large volume of comments with unstructured text characteristics and diverse sentiments, making automatic sentiment analysis necessary to understand public opinion trends. This study aims to analyze the sentiment of Instagram user comments related to the El Clásico match by comparing the Naive Bayes and Support Vector Machine (SVM) algorithms. The dataset consists of 1,526 comments with an imbalanced sentiment class distribution. The research stages include text preprocessing, term weighting using Term Frequency–Inverse Document Frequency (TF-IDF), and sentiment classification. The experimental results show that the SVM algorithm outperforms Naive Bayes, achieving an accuracy of 62.88% and a weighted F1-score of 0.62, while Naive Bayes achieves an accuracy of 59.53% and a weighted F1-score of 0.52. These results indicate that SVM is more effective in handling high-dimensional data and imbalanced class distributions in social media sentiment analysis.

Copyrights © 2026






Journal Info

Abbrev

jdi

Publisher

Subject

Computer Science & IT

Description

Enterprise Systems (ES) Enterprise Resource Planning Business Process Management Customer Relationship Management Marketing Analytics System Dynamics E-business and e-Commerce Marketing Analytics Supply Chain Management and Logistics Business Analytics and Knowledge Discovery Production Management ...