Sentiment Analysis of Twitter Towards the Free Lunch Program Using the C4.5 Algorithm

This study analyzes public sentiment towards the Makan Siang Gratis (Free Lunch) Program on social media X using the C4.5 algorithm. This program, which was initiated as a campaign promise in the 2024 Election, aims to provide free nutritious food for school students in Indonesia. Given the high public interaction on social media, this study was conducted to determine the public response to the program, which can be positive, neutral, or negative sentiment. The methods used include data collection from social media X, text pre-processing, sentiment labeling, application of Term Frequency-Inverse Document Frequency (TF-IDF), and model evaluation with accuracy metrics. The dataset consists of 3,344 tweets which are then classified using the C4.5 algorithm. Based on the evaluation results, it produces an average precision value of 79%, recall of 76%, F1-score of 77%, and is able to provide an accuracy of 78%. Thus, this model shows effective performance in classifying public sentiment. This study can contribute to the use of social media sentiment analysis as a tool for public policy evaluation.

Authors

Institutions

Publication Details

Journal
International Journal of Advances in Data and Information Systems
Published
2025-04-22
DOI
https://doi.org/10.59395/ijadis.v6i1.1357
Citations
1
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment Analysis of Twitter Towards the Free Lunch Program Using the C4.5 Algorithm

Allamanda Salsabila Hanin, Maryam Maryam
1 citations
International Journal of Advances in Data and Information Systems
Data Mining and Machine Learning Applications
3.25
article

Sentiment Analysis of Twitter Towards the Free Lunch Program Using the C4.5 Algorithm

Allamanda Salsabila Hanin, Maryam Maryam
article en
1 citations

Abstract

This study analyzes public sentiment towards the Makan Siang Gratis (Free Lunch) Program on social media X using the C4.5 algorithm. This program, which was initiated as a campaign promise in the 2024 Election, aims to provide free nutritious food for school students in Indonesia. Given the high public interaction on social media, this study was conducted to determine the public response to the program, which can be positive, neutral, or negative sentiment. The methods used include data collection from social media X, text pre-processing, sentiment labeling, application of Term Frequency-Inverse Document Frequency (TF-IDF), and model evaluation with accuracy metrics. The dataset consists of 3,344 tweets which are then classified using the C4.5 algorithm. Based on the evaluation results, it produces an average precision value of 79%, recall of 76%, F1-score of 77%, and is able to provide an accuracy of 78%. Thus, this model shows effective performance in classifying public sentiment. This study can contribute to the use of social media sentiment analysis as a tool for public policy evaluation.

International Journal of Advances in Data and Information SystemsVol. 6(1)
Muhammadiyah University of Surakarta (ID)
Openalex Percentile: Top 10%
Data Mining and Machine Learning Applications
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Sentiment Analysis of Twitter Towards the Free Lunch Program Using the C4.5 Algorithm — Allamanda Salsabila Hanin, Maryam Maryam · International Journal of Advances in Data and Information Systems (2025) | TGRS Research Map | TGRS