The Sentiment Analysis of Public Comments on “Program Makan Siang Gratis” Using KNN (K-Nearest Neighbor) and SMOTE Algorithm

  • Vincent V
  • Irsansaputra V
  • Udjulawa D
N/ACitations
Citations of this article
28Readers
Mendeley users who have this article in their library.

Abstract

This research analyzes public sentiment on “Program Makan Siang Gratis” using the KNN algorithm, enhanced with the SMOTE technique, to provide insights and recommendations for policymakers aiming to achieve “Indonesia Emas 2045”. The study employs Google Colab and Python for testing. KNN is used for sentiment analysis and classification, with SMOTE addressing data imbalance. Results from two scenarios without SMOTE and with SMOTE show that performance is more optimal without SMOTE, as SMOTE decreases performance by 34%. The k4 parameter yields the best results: 76% accuracy, 57% precision, 77% recall, and 65% F1-Score. Analysis of comments from the “tempodotco” YouTube channel reveals that public sentiment towards the program proposed by President Prabowo Subianto and Vice President Gibran Rakabuming Raka is predominantly negative

Cite

CITATION STYLE

APA

Vincent, V., Irsansaputra, V. H., & Udjulawa, D. (2025). The Sentiment Analysis of Public Comments on “Program Makan Siang Gratis” Using KNN (K-Nearest Neighbor) and SMOTE Algorithm. [CEPAT] Journal of Computer Engineering: Progress, Application and Technology, 3(02). https://doi.org/10.25124/cepat.v3i02.7734

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free