Amelia Tifany Dewi
Unknown Affiliation

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Sentiment Analysis Model for the Free Lunch Program in Indonesia on Twitter (X) Based on Machine Learning Amelia Tifany Dewi; Nur Alamsyah; Sinaga, Arnold Ropen
Bulletin of Intelligent Machines and Algorithms Vol. 1 No. 3 (2026): BIMA March 2026 Issue
Publisher : Maheswari Publisher

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.65780/bima.v1i3.18

Abstract

Social media has become a primary platform for the public to voice their opinions on various public policies, including the free lunch program initiated by the Indonesian government. This study aims to analyze public sentiment toward this program through the Twitter (X) platform by utilizing machine learning algorithms. Data collection was conducted from January 2025 to June 2025, with a total of 2,045 comments successfully gathered. Sentiment labeling was performed manually, and only positive and negative sentiments were considered. The data, in the form of relevant comments, were pre-processed and classified into positive and negative sentiments. Three algorithms used in this study are Support Vector Machine (SVM), Naïve Bayes, and Random Forest. Evaluation was performed using data splitting schemes of 70:30 and 80:20, along with 5-fold cross-validation. Unlike previous studies, which primarily focused on sentiment analysis of general social issues or specific topics without emphasizing public policy, this study specifically investigates the public's sentiment regarding a government policy (the free lunch program) and compares the performance of different machine learning models. The results of the study show that the Random Forest model outperformed SVM and Naïve Bayes, achieving an accuracy of 89.41% with a standard deviation of 0.0138. Meanwhile, SVM achieved an accuracy of 88.96% and Naïve Bayes 88.72%. These findings suggest that Random Forest is the most optimal and consistent model for sentiment analysis of public policies on social media.