Sentiment Analysis of the Joko Widodo Diploma Controversy Using NLP and Multi-Layer Perceptron
DOI:
https://doi.org/10.69916/jkbti.v5i3.591Keywords:
Sentiment Analysis, Natural Language Processing, Multi Layer Perceptron, TF-IDF, YouTubeAbstract
The polemic regarding the authenticity of President Joko Widodo’s diploma has become a public issue widely discussed on social media, particularly on the YouTube platform. YouTube comment sections contain various public opinions that are unstructured and written in informal language, making manual analysis difficult. Therefore, this study aims to analyze public sentiment toward the polemic of Joko Widodo’s diploma using a Natural Language Processing (NLP) approach with the Multi Layer Perceptron (MLP) algorithm. The research data were obtained from YouTube user comments related to the issue. The data were processed through text preprocessing stages, including cleaning, case folding, tokenization, stopword removal, and stemming. Furthermore, the text data were transformed into numerical representations using the Term Frequency–Inverse Document Frequency (TF-IDF) method. Sentiment classification was performed using the Multi Layer Perceptron algorithm into three sentiment classes, namely positive, negative, and neutral. Model performance evaluation was conducted using a confusion matrix with accuracy, precision, recall, and F1-score metrics. The results show that the Multi Layer Perceptron algorithm is able to classify public sentiment with a good level of accuracy and effectively learn non-linear patterns in textual data. This study is expected to serve as a reference for the development of Indonesianlanguage sentiment analysis based on machine learning.
Downloads
References
I. Huda, “Implementasi Natural Language Processing (NLP),” J. Nas. Tek. Elektro Dan Teknol. Inf., pp.
–28, 2021.
M. R. Anggana, “Peran Natural Language Processing (NLP) dalam Membantu Manusia,” Kata.Ai, vol. 11,
pp. 62–68, 2022.
A. Liyih, S. Anagaw, M. Yibeyin, and Y. Tehone, “Sentiment analysis of the Hamas–Israel war on YouTube
comments using deep learning,” Sci. Rep., vol. 14, pp. 1–9, 2024, doi: 10.1038/s41598-024-63367-3.
A. P. Widyasari, “Sentiment Analysis of YouTube Comments on the 2025 DPR RI Demonstration Using
Machine Learning,” J. Comput. Sci., vol. 10, no. 2, 2026.
A. Angdresey, L. Sitanayah, I. Lucky, and H. Tangka, “Sentiment Analysis for Political Debates on YouTube Comments using BERT Labeling, Random Oversampling, and Multinomial Naïve Bayes,” IEEE Access, 2025.
N. Mahfudza and M. Ikhsan, “Sentiment Analysis of Youtube Comments on Indonesian Presidential Candidates in 2024 using Naïve Bayes Classifier Method,” JURIKOM (Jurnal Ris. Komput.), vol. 12, no. 2,
pp. 140–148, 2025, doi: 10.30865/jurikom.v12i2.8538.
I. Aditya and A. Putra, “Analisis Komentar Youtube Terhadap Polemik Ijazah Presiden Ke 7 Indonesia
Menggunakan Support Vector Machine,” Bull. Comput. Sci. Res., vol. 6, no. 1, pp. 445–457, 2025, doi:
47065/bulletincsr.v6i1.883.
U. Bert, N. Sholihah, F. F. Abdulloh, and M. Rahardi, “Sentiment Analysis on KPU Performance Post-2024 Election via YouTube Comments,” J. Inf. Technol., vol. 8, no. 4, pp. 2222–2232, 2024.
C. Zuriana, D. Iskandar, and M. Idham, “OPINI PUBLIK TERHADAP DEBAT CAPRES 2024: ANALISIS
SENTIMEN DALAM KOMENTAR LIVE YOUTUBE KPU RI,” J. Media Inf., vol. 13, no. 2, pp.
–485, 2024.
A. Info, “SENTIMENT ANALYSIS OF COMMENTS ON INDONESIAN POLITICAL SPEECH VIDEOS
ON YOUTUBE USING MACHINE LEARNING,” J. Technol., vol. 7, no. 2, pp. 34–44, 2025.
A. A. Bastian and A. Perdana, “Sentiment Analysis of Public Comments on YouTube Regarding the
Inaugural Speech of the 8th President of Indonesia Using VADER and BERT Methods,” Int. J. Polit. Sci.,
vol. 5, no. 2, pp. 126–140, 2025.
A. B. T. Y. Prawira and F. A. Tyas, “SENTIMENT ANALYSIS OF THE NATIONAL MANDATE PARTY
(PAN) IN YOUTUBE COMMENTS USING THE TF-IDF AND COSINE SIMILARITY APPROACHES,”
Metadata J., vol. 8, no. 1, pp. 111–125, 2026, doi: 10.47652/metadata.v8i1.937.
H. A. Amaliaputri, A. P. Wijaya, and D. Salim, “Sentiment Analysis of YouTube Comments on Indonesian 2024 Presidential Candidate Talk Show,” Procedia Comput. Sci., vol. 56, no. 7, pp. 2697–2703, 2026.
F. A. Aziz and L. S. Harahap, “Sentiment Analysis Regarding the Indonesian House of Representatives Rejecting the Constitutional Court Decision from Social Media Using Naive Bayes,” J. Soc. Media Res.,
vol. 10, no. 1, pp. 31–37, 2025.
B. Valentino and I. M. K. Karo, “Pemahaman Dasar Matriks Dan Aplikasinya Dalam Kehidupan Sehari-Hari,” JATI (Jurnal Mhs. Tek. Inform.), vol. 9, no. 3, pp. 5381–5385, 2025, doi: 10.36040/jati.v9i3.14183.
P. Agusia, M. Uli, A. Manurung, V. Calista, and V. C. Mawardi, “Pemanfaatan Word Cloud Pada Analisis Sentimen Dalam Menggali Persepsi Publik,” J. Serba Inf., pp. 25–30, 2024.
D. Septiani and I. Isabela, “Analisis term frequency inverse document frequency (tf-idf) dalam temu kembali informasi pada dokumen teks,” J. Teknol. Inf., vol. 25, pp. 81–88, 2023.
F. Refindha, A. Harianto, Z. Alawi, and I. Aristia, “PENGARUH KOMPOSISI SPLIT DATA PADA
AKURASI KLASIFIKASI PENDERITA DIABETES MENGGUNAKAN MACHINE LEARNING,” J.
Data Sci., vol. 8, no. 1, pp. 36–44, 2025.
I. A. Arasy, S. Agustian, and L. Handayani, “Klasifikasi Sentimen Menggunakan Metode Multilayer Perceptron dengan Fitur TF-IDF,” MALCOM: Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 2, pp. 908–919, 2025.
S. Shevira, I. M. A. D. Suarjaya, and P. W. Buana, “Pengaruh Kombinasi dan Urutan Pre-Processing
pada Tweets Bahasa Indonesia,” JITTER J. Ilm. Teknol. Dan Komput., vol. 3, no. 2, p. 1074, 2022, doi:
24843/jtrti.2022.v03.i02.p06.
Downloads
Published
Scite Metrics
Altmetric
How to Cite
Issue
Section
License
Copyright (c) 2026 Herdiansyah Herdiansyah, Nazori Suhandi, Dwi Asa Verano

This work is licensed under a Creative Commons Attribution 4.0 International License.
Most read articles by the same author(s)
- M. Imam Saputra, Rendra Gustriansyah, Dwi Asa Verano, Employee Performance Classification Using Optimized Random Forest with Max Depth and N-Estimators at PT Bringin Gigantara , Jurnal Kecerdasan Buatan dan Teknologi Informasi: Vol. 5 No. 3 (2026): September 2026 In progress.







