Bagus Laksana, Mohammad Ari (2026) Perbandingan Metode Naive Bayes dan Random Forest untuk Analisis Sentimen Publik Terhadap Program Makan Bergizi Gratis Pada Sosial Media X. Undergraduate thesis, Politeknik Negeri Jember.
|
Text (Abstract)
Abstract.pdf - Submitted Version Available under License Creative Commons Attribution Share Alike. Download (150kB) |
|
|
Text (Bab 1 Pendahuluan)
Bab 1 Pendahuluan.pdf - Submitted Version Available under License Creative Commons Attribution Share Alike. Download (158kB) |
|
|
Text (Daftar Pustaka)
Daftar Pustaka.pdf - Submitted Version Available under License Creative Commons Attribution Share Alike. Download (159kB) |
|
|
Text (Laporan Lengkap)
Laporan Lengkap.pdf Restricted to Registered users only Download (8MB) | Request a copy |
Abstract
The development of social media has generated various public opinions that can be utilized to understand public perceptions of certain issues. One of the issues that has attracted public attention is the Free Nutritious Meals Program (MBG), which has received positive, negative, and neutral responses. This study aims to analyze public sentiment toward the Free Nutritious Meals Program based on data obtained from social media X (Twitter) and to compare the performance of the Naïve Bayes and Random Forest algorithms in sentiment classification using accuracy, precision, recall, and F1-score metrics. This study employed the Cross-Industry Standard Process for Data Mining (CRISP-DM) methodology, which consists of Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment stages. The dataset consisted of Indonesian-language tweets related to the Free Nutritious Meals Program, which underwent preprocessing, sentiment labeling, data splitting, and feature weighting using Term Frequency-Inverse Document Frequency (TF-IDF). The classification process was carried out using the Naïve Bayes and Random Forest algorithms with three data split scenarios, namely 90:10, 80:20, and 70:30. The results showed that public sentiment toward the Free Nutritious Meals Program consisted of positive, negative, and neutral sentiments, with positive sentiment being the most dominant. Based on the evaluation results, the Random Forest algorithm outperformed Naïve Bayes in all data split scenarios. The best performance was achieved with the 80:20 data split ratio, yielding an accuracy of 77.29%, while Naïve Bayes achieved its highest accuracy of 74.52% with the 90:10 data split ratio. Therefore, the Random Forest algorithm proved to be more effective for sentiment classification of the Free Nutritious Meals Program in this study.
| Item Type: | Thesis (Undergraduate) | ||||||
|---|---|---|---|---|---|---|---|
| Contributors: |
|
||||||
| Uncontrolled Keywords: | Analisis Sentimen, Program Makan Bergizi Gratis, Naive Bayes, Random Forest. | ||||||
| Subjects: | 410 - Rumpun Ilmu Teknik > 450 - Teknik Elektro dan Informatika > 458 - Teknik Informatika 410 - Rumpun Ilmu Teknik > 450 - Teknik Elektro dan Informatika > 461 - Sistem Informasi 410 - Rumpun Ilmu Teknik > 450 - Teknik Elektro dan Informatika > 462 - Teknologi Informasi |
||||||
| Divisions: | Jurusan Teknologi Informasi > Prodi D4 Teknik Informatika > Tugas Akhir | ||||||
| Depositing User: | Mohammad Ari Bagus Laksana | ||||||
| Date Deposited: | 06 Aug 2026 01:16 | ||||||
| Last Modified: | 06 Aug 2026 01:16 | ||||||
| URI: | https://sipora.polije.ac.id/id/eprint/59304 |
Actions (login required)
![]() |
View Item |
