PENERAPAN SMOTE PADA ANALISIS SENTIMEN OPINI PUBLIK TERHADAP PROGRAM MAKAN SIANG GRATIS PADA MEDIA SOSIAL X MENGGUNAKAN ALGORITMA NAÏVE BAYES

Authors

DOI:

https://doi.org/10.57203/session.v5i1.2026.7-13

Keywords:

Sentiment Analysis, Naïve Bayes, Free Lunch

Abstract

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

30-09-2026

How to Cite

PENERAPAN SMOTE PADA ANALISIS SENTIMEN OPINI PUBLIK TERHADAP PROGRAM MAKAN SIANG GRATIS PADA MEDIA SOSIAL X MENGGUNAKAN ALGORITMA NAÏVE BAYES. (2026). Software Development, Digital Business Intelligence, and Computer Engineering, 5(1), 7-13. https://doi.org/10.57203/session.v5i1.2026.7-13

Similar Articles

1-10 of 14

You may also start an advanced similarity search for this article.