Sentiment analysis of public opinion toward government regulations concerning the implementation of tabungan perumahan rakyat (Tapera) using the convolutional neural network (CNN) model on social media X

Authors

  • M. Iqbal Noviansyah Universitas Amikom Yogyakarta, Indonesia
  • Kusrini Kusrini Universitas Amikom Yogyakarta, Indonesia

DOI:

https://doi.org/10.35335/mandiri.v15i2.559

Keywords:

Convolutional Neural Network, InSet Lexicon, Sentiment Analysis, Tapera, Word2Vec

Abstract

Sentiment analysis is one of the applications of Natural Language Processing (NLP) for identifying public opinion on social media. Although previous studies on Tapera sentiment analysis have applied conventional machine learning and transformer-based approaches, limited attention has been given to integrating automatic lexicon-based sentiment labeling with semantic word representation and deep learning classification within a unified framework. This study proposes an approach that integrates the Indonesian Sentiment Lexicon (InSet), Word2Vec, and Convolutional Neural Network (CNN) to classify public sentiment toward the Tabungan Perumahan Rakyat (Tapera) policy on social media X. A total of 1,291 tweets were processed through the preprocessing stage and automatically labeled using InSet. Word2Vec was employed to construct semantic word representations that were used as the initial weights of the CNN embedding layer. The proposed model was evaluated using four hold-out data split scenarios and compared with BiLSTM and Random Forest. The experimental results showed that the 80:20 configuration achieved the best performance with an accuracy of 74.52%, outperforming BiLSTM (71.43%) and Random Forest (69.88%). The novelty of this study lies in integrating automatic sentiment labeling using the Indonesian Sentiment Lexicon (InSet), semantic representation through Word2Vec, and CNN-based classification within a unified framework, together with an empirical evaluation of different train-test split ratios for Tapera policy sentiment analysis. These findings demonstrate that the proposed approach provides competitive sentiment classification performance while reducing dependence on manual sentiment annotation.

References

Asril, A. A., Rifai, A., & Shebubakar, A. N. (2022). Penyelenggaraan Tabungan Perumahan Menurut Undang-Undang Nomor 4 Tahun 2016 Ditinjau Dari Perspektif Perlindungan Hukum. Jurnal Magister Ilmu Hukum, 7(1), 1. https://doi.org/10.36722/jmih.v7i1.1185

Atandoh, P., Zhang, F., Adu-gyamfi, D., Atandoh, P. H., & Elimeli, R. (2023). Integrated deep learning paradigm for document-based sentiment analysis. Journal of King Saud University - Computer and Information Sciences, 35(7), 101578. https://doi.org/10.1016/j.jksuci.2023.101578

Çano, E., & Morisio, M. (2019). Word Embeddings for Sentiment Analysis: A Comprehensive Empirical Survey. 1–20.

Cheng, Y., Yao, L., Xiang, G., Zhang, G., Tang, T., & Zhong, L. (2020). Text Sentiment Orientation Analysis Based on Multi-Channel CNN and Bidirectional GRU With Attention Mechanism. IEEE Access, 8, 134964–134975. https://doi.org/10.1109/ACCESS.2020.3005823

Creswell, J. W., & Creswell, J. D. (2017). Research design: Qualitative, quantitative, and mixed methods approaches. Sage publications.

Fahry, F., Utami, E., & Sudarmawan, S. (2023). OPTIMIZING SENTIMENT ANALYSIS OF PRODUCT REVIEWS ON MARKETPLACE USING A COMBINATION OF PREPROCESSING TECHNIQUES, WORD2VEC, AND CONVOLUTIONAL NEURAL NETWORK. Jurnal Teknik Informatika (Jutif), 4(1 SE-Articles), 101–107. https://doi.org/10.52436/1.jutif.2023.4.1.815

Fauzy, S. R. (2022). Prediksi Dan Analisis Jumlah Penduduk Desa Kecamatan Cidolog Tahun 2022 Menggunakan Artificial Neural Network Pada Aplikasi Matlab. Naratif : Jurnal Nasional Riset, Aplikasi Dan Teknik Informatika, 4(2), 155–160. https://doi.org/10.53580/naratif.v4i2.163

Firdaus, M. P., & Trisnawarman, D. (2025). Analisis Sentimen Publik terhadap Program Tabungan Perumahan Rakyat Menggunakan Model IndoBERT Lite pada Komentar YouTube. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 5(1), 359–368. https://doi.org/10.57152/malcom.v5i1.1744

Gandhi, U. D., Malarvizhi Kumar, P., Chandra Babu, G., & Karthick, G. (2021). Sentiment Analysis on Twitter Data by Using Convolutional Neural Network (CNN) and Long Short Term Memory (LSTM). Wireless Personal Communications. https://doi.org/10.1007/s11277-021-08580-3

Gupta, V., Jain, N., Shubham, S., Madan, A., Chaudhary, A., & Xin, Q. (2021). Toward Integrated CNN-based Sentiment Analysis of Tweets for Scarce-resource Language—Hindi. ACM Transactions on Asian and Low-Resource Language Information Processing, 20(5), 1–23. https://doi.org/10.1145/3450447

Kurniasari, I., & Fatta, H. Al. (2021). Analisis Sentimen Opini Publik pada Instagram mengenai Covid-19 dengan SVM. JTECS : Jurnal Sistem Telekomunikasi Elektronika Sistem Kontrol Power Sistem& Komputer, 1(1), 67–74.

Leidiyana, H., Misriati, T., & Aryanti, R. (2024). Klasifikasi Sentimen Terhadap Kebijakan Tapera Menggunakan Komparasi Machine Learning dan SMOTE. Jurnal Komtika (Komputasi Dan Informatika), 8(2), 125–135. https://doi.org/10.31603/komtika.v8i2.12595

Musthafa, A., Harmini, T., Rafiq, A., & Marantika, N. (2025). Pemanfaatan Machine Learning dalam Menganalisis Sentimen Terhadap Program TAPERA di Platform Digital X. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 5(2), 587–597. https://doi.org/10.57152/malcom.v5i2.1801

Purwitasari, D., Devi, A., & Ariyanto, P. (2023). Transformer-based Information Extraction from Twitter Text on Complaint Monitoring System.

Sabitha, A. F. (2022). Analisis Pengaruh Tingkat Urbanisasi Terhadap Ketersediaan Lahan Lahan Permukiman Perumahan Di Kota Surabaya. Jurnal Lemhannas RI, 10(1), 19–26. https://doi.org/10.55960/jlri.v10i1.268

Setiawan, B. (2024). A Review of Sentiment Analysis Applications in Indonesia Between 2023-2024. JIEET: Journal Information Engineering and Educational Technology, 08, 71–83.

Sugiyono, S. (2019). Metodologi Penelitian Kualitatif Kuantitatif Dan R&D. Bandung: Cv. Alfabeta.

Taboada, M., Brooke, J., & Voll, K. (2011). Lexicon-Based Methods for Sentiment Analysis. August 2010.

Tang, H., Zhang, N., Yu, X., Mao, T., & Wang, L. (2023). Enhancing Sentiment Analysis with Word2Vec and LSTM : A Comparative Study. Journal of Basic and Applied Research International, 29(3), 1–10. https://doi.org/10.56557/JOBARI/2023/v29i38342

Tania, N., Novienco, J., & Sanjaya, D. (2021). Kajian Teori Hukum Progresif Terhadap Implementasi Produk Tabungan Perumahan Rakyat. Perspektif, 26(2), 73–87. https://doi.org/10.30742/perspektif.v26i2.800

Yin, R. K. (2017). Case study research and applications: Design and methods. Sage publications.

Downloads

Published

2026-08-29

How to Cite

Noviansyah, M. I., & Kusrini, K. (2026). Sentiment analysis of public opinion toward government regulations concerning the implementation of tabungan perumahan rakyat (Tapera) using the convolutional neural network (CNN) model on social media X. Jurnal Mandiri IT, 15(2), 80–91. https://doi.org/10.35335/mandiri.v15i2.559