Skip to content
Open access

Comparasion of Support Vector Machine and Decision Tree Methods in Sentiment Analysis of Social Media X User Toward the Free Nutritious Meal Program

Aug 2026 · Formosa Journal of Computer and Information Science · Vol 5, pp. 229-242 · 0 citations

TL;DR

The results showed that the Support Vector Machine algorithm had better performance than Decision Tree in classifying the sentiment of social media users X towards the Free Nutritious Meal Program.

Abstract

The research stages include a preprocessing process consisting of cleaning, case folding, tokenizing, normalization, stopword removal, and stemming. Furthermore, the TF-IDF method is used to extract text features so that the data can be represented in numerical form. The dataset was then divided into training data and test data with an 80:20 ratio. The model evaluation was carried out using a confusion matrix by paying attention to the values of accuracy, precision, recall, and F1-Score. The results showed that the Support Vector Machine algorithm had better performance than Decision Tree in classifying the sentiment of social media users X towards the Free Nutritious Meal Program. The SVM algorithm obtained an accuracy score of 75.42%, precision of 74.65%, recall of 75.42%, and F1-Score of 74.96%. Meanwhile, the Decision Tree algorithm produced an accuracy value of 72.08%, precision of 73.33%, recall of 72.08%, and F1-Score of 72.59%.

Read PDF

Similar papers

Open access Sep 2026

Comparison of Naive Bayes, SVM, and Logistic Regression for Sentiment Analysis of the Makan Bergizi Gratis Program

The Makan Bergizi Gratis Program (MBG) became one of the widely discussed public issues on platform X and generated diverse responses from users. These responses included supportive, critical, and neutral opinions, making sentiment analysis relevant for understanding public opinion toward the program. This study compar...

Andika, Julio Cesar Alessandro, Adjie Perkasa Tarigan et al. · 0 citations
Review Open access Sep 2026

Sentiment Analysis of User Reviews of Purwokerto Station Using TF-IDF and the Random Forest Method

User reviews on Google Maps serve as a valuable source of information for evaluating the service quality of public facilities, including train stations. This study aims to analyze the sentiment of user reviews for Purwokerto Station using the Random Forest algorithm and to identify dominant Bigrams within each sentimen...

Diva Nur Syafika, H. Mustafidah, M. Fitriani et al. · 0 citations
Review Open access Sep 2026

The Effect of Increasing the Dataset Size on the Performance of Sentiment Analysis Models for Tokopedia Reviews Using SVM, Naïve Bayes, and Perceptron Based on TF-IDF

It is demonstrated that the size of the dataset influences the accuracy and stability of sentiment analysis models ABSTRAK and this study demonstrates that the size of the dataset influences the accuracy and stability of sentiment analysis models.

A'Yun Fa'yuni, Afril Efan Pajri, Ita Aristia Sa'ida · 0 citations
Review Sep 2026

EVALUATION OF TEXT CLASSIFICATION ALGORITHMS: A STUDY ON CLASS IMBALANCE AND PREPROCESSING

This paper presents a controlled comparative study of traditional machine learning algorithms for thematic text classification, focusing on the impact of preprocessing strategies and class imbalance on model performance under different data conditions. Two experimental scenarios were considered: the Women’s Clothing E-...

Dulce Liliana Estrada Bahena, Alicia Martínez Rebollar, Hugo Estrada Esquivel et al. · 0 citations
Review Open access Sep 2026

Sentiment Analysis of Public Opinions on Electric Vehicles on Social Media Using the Support Vector Machine (SVM) Algorithm with Optimized Preprocessing

The development of regulations and trends in electric vehicle adoption in Indonesia has generated diverse public responses and opinions on social media platforms such as YouTube. However, manually evaluating large volumes of unstructured review data tends to be inefficient and less effective. This study applies the Sup...

Aurora Aulia Rahma, Fernando Yunianda Dwi Firmansyah, Bima Sanggraloka et al. · 0 citations
Open access Aug 2026

Sentiment Analysis of X Users’ Opinions on the Free Nutritious Meal (MBG) Program Using Support Vector Machine

Sentiment analysis was conducted to examine public perceptions of the Free Nutritious Meal (Makan Bergizi Gratis, MBG) Program and identify prevailing opinion trends surrounding the policy. The analysis was initially conducted on 5,118 social media posts collected from X (formerly Twitter). After the preprocessing stag...

Syarifah Putri Agustini Alkadri, Rhendy Billnadzary Al Abrari, Rachmat Wahid Saleh Insani · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.