Implementation of XGBoost Algorithm for Sentiment Classification of Public Opinions on the Rupiah Redenomination Policy
Main Article Content
Abstract
Although rupiah redenomination has long featured in Bank Indonesia’s monetary policy discourse as a means of simplifying currency denominations without altering the exchange rate or real purchasing power, public concerns about declining purchasing power and price rounding underscore the need for effective policy communication. This study analyzes Indonesian public sentiment toward rupiah redenomination using the Extreme Gradient Boosting (XGBoost) algorithm to classify YouTube comments. Data were collected through the YouTube Data API v3 from 1,763 comments posted on the Tribunnews video titled Purbaya Targets Rupiah Redenomination Bill to Be Completed in 2027. Following text cleaning and tokenization, 1,169 comments were retained and transformed using Term Frequency–Inverse Document Frequency (TF-IDF). Manual labeling classified 657 comments as positive and 512 as negative. The XGBoost model, trained using optimized hyperparameters, achieved an accuracy of 73.39%, with F1-scores of 0.772 for positive sentiment and 0.680 for negative sentiment. These results indicate that the model classified positive sentiment more effectively, although ambiguous comments remained challenging. The findings reveal the distribution of public responses to the proposed policy and emphasize the need for intensive public outreach to mitigate potential resistance and misconceptions. This study contributes a data-driven basis for developing more effective monetary policy communication and anticipating the social dynamics associated with rupiah redenomination.
Downloads
Citation Metrics & Similar Scopus Articles
-
Zhu P. (2027)Materials–Structure–Hardware–Algorithm Co-Driven Hierarchical Optimization for Flexible SensorsNano Micro Letters, 19(1)
-
Briceño G.D. (2027)Comparison of Colombian growth reference with WHO standard for children 0 to 59 months old: Colombian vs WHO growth standards in childrenBiomedica, 47(1)
-
Qiu M. (2027)Nonlinear Vibration Analysis of Fractional Viscoelastic Timoshenko Nanobeams Considering Nonlocal and Surface EffectsAdvances in Applied Mathematics and Mechanics, 19(1), 1-37
Article Details

Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
References
Alghazzawi, D., Ullah, H., Tabassum, N., Badri, S. K., & Asghar, M. Z. (2025). Explainable AI-based suicidal and non-suicidal ideations detection from social media text with enhanced ensemble technique. Scientific Reports, 15, Article 1111. https://doi.org/10.1038/s41598-024-84275-6
Ardiani, L., Sujaini, H., & Tursina, T. (2020). Implementasi sentiment analysis tanggapan masyarakat terhadap pembangunan di Kota Pontianak. Jurnal Sistem dan Teknologi Informasi (JUSTIN), 8(2), 183. https://doi.org/10.26418/justin.v8i2.36776
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). Association for Computing Machinery. https://doi.org/10.1145/2939672.2939785
Diyanulhaq, M. B., & Saeffurohman. (2026). Klasifikasi sentimen YouTube terkait demonstrasi Agustus 2025 menggunakan metode TF-IDF dan algoritma XGBoost. INTECOMS: Journal of Information Technology and Computer Science, 9(3), 613–619. https://doi.org/10.31539/z74yc182
Fadli, M., Sanjaya, I., Surono, M., & Suryono, R. R. (2026). Analisis sentimen isu redominasi rupiah menggunakan lexicon based dan Naïve Bayes. JUTISI: Jurnal Ilmiah Teknik Informatika dan Sistem Informasi, 15(2), 757–766. https://doi.org/10.35889/jutisi.v15i2.3436
Hernikawati, D. (2021). Kecenderungan tanggapan masyarakat terhadap vaksin Sinovac berdasarkan lexicon based sentiment analysis. Jurnal IPTEK-KOM: Jurnal Ilmu Pengetahuan dan Teknologi Komunikasi, 23(1), 21–31. https://doi.org/10.17933/iptekkom.23.1.2021.21-31
Humas Fraksi PKS. (2020, July 11). RUU denominasi masuk Prolegnas 2020–2024, Anis minta pemerintah prioritaskan program lain. Fraksi Partai Keadilan Sejahtera. https://fraksi.pks.id/2020/07/11/ruu-denominasi-masuk-prolegnas-2020-2024-anis-minta-pemerintah-prioritaskan-program-lain/
Indraini, A. (2025, November 18). Gubernur BI jelaskan tahapan redenominasi, butuh waktu 6 tahun. detikSumut. https://www.detik.com/sumut/bisnis/d-8215997/gubernur-bi-jelaskan-tahapan-redenominasi-butuh-waktu-6-tahun
Maharani, M. D., Indradewi, I. G. A. A. D., & Wijaya, I. N. S. W. (2026). Perbandingan performa TF-IDF dan BoW pada analisis sentimen BPJS Kesehatan menggunakan XGBoost. Jurnal Pendidikan Teknologi dan Kejuruan, 23(1), 13–24. https://doi.org/10.23887/jptk-undiksha.v23i1.109604
Novaković, J. D., Veljović, A., Ilić, S. S., Papić, Ž., & Tomović, M. (2017). Evaluation of classification models in machine learning. Theory and Applications of Mathematics & Computer Science, 7(1), 39–46. https://www.uav.ro/jour/index.php/tamcs/article/view/2234
Pardede, D., Hayadi, B. H., & Iskandar. (2022). Kajian literatur multi layer perceptron: Seberapa baik performa algoritma ini. Journal of ICT Aplications and System, 1(1), 23–35. https://doi.org/10.56313/jictas.v1i1.127
Permana, S. H. (2015). Prospek pelaksanaan redenominasi di Indonesia. Jurnal Ekonomi dan Kebijakan Publik, 6(1), 109–122. https://doi.org/10.22212/jekp.v6i1.159
Purnamasari, N., & Hendrastuty, N. (2026). Perbandingan kinerja XGBoost dan Naive Bayes dalam analisis sentimen komentar TikTok terhadap Ibu Kota Nusantara (IKN) pada data tidak seimbang. Building of Informatics, Technology and Science (BITS), 7(4), 2690–2703. https://doi.org/10.47065/bits.v7i4.9488
Puspita, M. D., & Sulistya, A. R. (2024, December 14). 59 tahun lalu Indonesia lakukan redenominasi rupiah dari Rp1.000 jadi Rp1. Tempo. https://www.tempo.co/ekonomi/59-tahun-lalu-indonesia-lakukan-redenominasi-rupiah-dari-rp-1-000-jadi-rp-1--1181265
Sofyan, F. M. A., Sulistiyowati, N., & Voutama, A. (2024). Analisis sentimen terhadap respons perubahan nama Twitter menjadi “X” menggunakan metode Naïve Bayes classifier. JATI (Jurnal Mahasiswa Teknik Informatika), 8(5), 10987–10994. https://doi.org/10.36040/jati.v8i5.10720
Tharwat, A. (2021). Classification assessment methods. Applied Computing and Informatics, 17(1), 168–192. https://doi.org/10.1016/j.aci.2018.08.003
Wati, H. L., Wiradinata, M. T. I. R., Anggraeni, N., Kolbiah, S., Hendar, U., & Agustina, N. (2025). Perbandingan algoritma random forest dan XGBoost untuk analisis sentimen publik terhadap Rumah Makan Payakumbuah. NARATIF: Jurnal Nasional Riset, Aplikasi dan Teknik Informatika, 7(1), 64–71. https://doi.org/10.53580/naratif.v7i1.307
Widiarta, I. P. A. P., Dwiyansaputra, R., & Aranta, A. (2023). Analisis sentimen masyarakat terhadap kebijakan penerapan PPKM di media sosial Twitter dengan menggunakan metode XGBoost. Jurnal Teknologi Informasi, Komputer, dan Aplikasinya (JTIKA), 5(2), 154–163. https://doi.org/10.29303/jtika.v5i2.342
Wulla, J. D. A., & Rino. (2026). Sentiment analysis of Indonesian tweets on the free lunch and milk program using TF-IDF and Naïve Bayes. Journal of Computer Science and Intelligent Systems, 1(1), 29–42. https://eduscienta.com/index.php/JCSIS/article/view/3
Zhang, Y., Liu, J., & Shen, W. (2022). A review of ensemble learning algorithms used in remote sensing applications. Applied Sciences, 12(17), Article 8654. https://doi.org/10.3390/app12178654






















