Journal of applied statistics and data mining
Vol. 6 No. 1 (2025): Journal Applied Statistics and Data Mining

Twitter Sentiment Analysis on the Relocation of Indonesia's Capital City Using the Convolutional Neural Network Algorithm

Ramadhani Ari Putra (Unknown)
Herman Yuliansyah (Unknown)



Article Info

Publish Date
30 Jun 2025

Abstract

Background: The relocation of the Indonesian capital (IKN) has become a hot topic on social media, particularly Twitter, with diverse public opinions. Sentiment analysis is necessary to comprehensively understand public perception. Objective:  This study aims to analyze public sentiment on Twitter regarding the relocation of the IKN using the CNN algorithm to identify tendencies of positive, negative, or neutral opinions. Methods: Data was obtained through Twitter crawling, followed by preprocessing, automatic labeling with VADER, and resampling (oversampling). Text features were extracted using pre-trained Word2Vec and classified with CNN. Testing was conducted with varying epochs (25, 50, 100) and data splits (70:30 and 80:20). Conclusion: The highest accuracy was achieved with the 70:30 scheme with 100 epochs, namely 83.2% (precision 83.8%, recall 83.2%, and F1-score 83.0%). The analysis shows a dominant positive sentiment regarding the new capital city as a future solution and hope for Indonesia, although there are also negative criticisms.

Copyrights © 2025






Journal Info

Abbrev

jasdm

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Social Sciences

Description

Journal of applied statistics and data mining provide open access, which in principle makes research open and freely available to the public so that it becomes a means of global knowledge exchange. Published twice a year, in June and December. This journal publishes scientific articles as research ...