PENERAPAN SMOTE PADA ANALISIS SENTIMEN OPINI PUBLIK TERHADAP PROGRAM MAKAN SIANG GRATIS PADA MEDIA SOSIAL X MENGGUNAKAN ALGORITMA NAÏVE BAYES
DOI:
https://doi.org/10.57203/session.v5i1.2026.7-13Keywords:
Sentiment Analysis, Naïve Bayes, Free LunchAbstract
The Free Lunch Program is a government policy to improve public welfare. Evaluation of the effectiveness of this program is important to ensure that the benefits are as expected. This study analyzes public opinion about the Free Lunch Program through social media X with the sentiment analysis method using the Naïve Bayes algorithm. Data was obtained using the web crawling technique using the keyword "free lunch," resulting in 2,104 tweets that were processed through the preprocessing stage, including text cleaning and removing stopwords. Weighting was done using the TF-IDF method. The model was developed with Multinomial Naïve Bayes, using 80% of the data for training and 20% for testing and applying the SMOTE technique for data imbalance. The results showed an accuracy of 92% and challenges in identifying neutral sentiment. It is expected that the application of SMOTE to sentiment analysis with Naïve Bayes can improve the accuracy of imbalanced data classification, resulting in a more objective and in-depth analysis.
References
[1] Asiva Noor Rachmayani. 2024. “ANALISIS SENTIMEN PENGGUNA TWITTER TERHADAP PROGRAMMAKAN SIANG GRATIS MENGGUNAKAN METODE NAÏVE BAYES,” 6
[2] Cisdi. 2024. “Makan Bergizi Gratis : Menilik Tujuan , Anggaran Dan Tata Kelola Program” 2023 (17): 1–16.
[3] Darwis, Dedi, Nery Siskawati, and Zaenal Abidin. 2021. “Penerapan Algoritma Naive Bayes Untuk Analisis Sentimen Review Data Twitter Bmkg Nasional.” Jurnal Tekno Kompak 15 (1): 131. https://doi.org/10.33365/jtk.v15i1.744.
[4] Ilham, Muhammad, and Bagus Priambodo. 2024. “Analisis Sentimen Publik Terhadap Program Makan Siang Gratis Menggunakan BERT Neural Network Pada Platform X” 6 (2): 1039–47.
[5] Utomo, Muchammad Chandra Cahyo, Mukhamad Taukhid, and Syamsul Mujahidin. 2023. “Analisis Sentimen Media Sosial Twitter Pada Kasus Pemberlakuan Pembatasan Kegiatan Masyarakat Dengan Menggunakan Metode Naïve Bayes Classifier.” EQUIVA JOURNAL Journal of Mathematics & Information Technology 01 (01): 41–48..
[6] Vebrian, Yoga Zaen, Teknik Informatika, and Universitas Ngudi Waluyo. 2025. “A SENTIMENT ANALYSIS OF FREE MEAL PLANS ON SOCIAL MEDIA USING NAÏVE BAYES ALGORITHMS ANALISIS SENTIMEN TERHADAP RENCANA MAKAN GRATIS DI SOSIAL MEDIA X MENGGUNAKAN” 10 (1).
Downloads
Published
Issue
Section
License
Copyright (c) 2026 widya kurniawan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright :
Authors who publish their manuscripts in this journal agree to the following conditions.
- The copyright on each article belongs to the author(s).
- The author acknowledges that Jurnal SESSION: Software Development, Digital Business Intelligence, and Computer Engineering has the right to be the first to publish with a Creative Commons Attribution 4.0 International license (Attribution 4.0 International (CC BY 4.0).
- Authors can submit articles separately, arrange for the nonexclusive distribution of manuscripts that have been published in this journal into other versions (e.g., sent to the author's institutional repository, publication into books, etc.), by acknowledging that the manuscript has been published for the first time in the Jurnal SESSION: Software Development, Digital Business Intelligence, and Computer Engineering.
License:
![]()
Jurnal SESSION: Software Development, Digital Business Intelligence, and Computer Engineering is licensed under a Creative Commons Attribution 4.0 International License.
This license permits anyone to copy and redistribute this material in any form or format, compose, modify, and make derivatives of this material for any purpose, including commercial purposes, as long as the author credits the original work.