Comparative Study Of Public Sentiment Analysis On Ikn (Nusantara Capital City) Across X And Youtube Using Pso-Optimized Svm
Main Article Content
Abstract
This study aims to compare public sentiment regarding the IKN on Platform X and YouTube using a Polynomial Kernel SVM algorithm optimized by PSO. The method used is an experimental study. Data was obtained through web scraping using Google Colab, yielding 1,413 tweets for the X dataset and 814 for the YouTube dataset. The collected data underwent data cleaning, followed by sentiment labeling of each data point into three classes. Following this, TF-IDF vectorization, PSO-based feature selection, and classification using the Polynomial Kernel SVM were performed. The results of the study showed an accuracy of 76% for the PSO-SVM on the X platform and 75% for the YouTube platform. These results indicate that the PSO-SVM algorithm performs better on the X platform compared to the YouTube platform.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Ajay Jadhav, Pranjal Jagtap, Suraj Gurav, Shivani Jadhav, Nikita Jadhav, & Afsha Akkalkot. 2023. A survey on text mining - techniques, application. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 3307, 338–343. https://doi.org/10.32628/cseit2390391
Aslan, S., Kızıloluk, S., & Sert, E. 2023. TSA-CNN-AOA: twitter sentiment analysis using cnn optimized via arithmetic optimization algorithm. Neural Computing and Applications, 35(14), 10311–10328. https://doi.org/10.1007/s00521-023-08236-2
Broklyn, P., Olukemi, A., & Bell, C. 2024. Social media sentiment analysis for brand reputation management social media sentiment analysis for brand reputation management. https://doi.org/10.20944/preprints202408.0029.v1
Chakraborty, S. 2023. Sentiment analysis in the perspective of natural language processing. International Journal for Research in Applied Science and Engineering Technology, 11(11), 2235–2241. https://doi.org/10.22214/ijraset.2023.56925
Darmawan, R., Indra, I., & Surahmat, A. 2022. Optimalisasi support vector machine (svm) berbasis particle swarm optimization (PSO) pada analisis sentimen terhadap official account ruang guru di twitter. Jurnal Kajian Ilmiah, 22(2), 143–152. https://doi.org/10.31599/jki.v22i2.1130
Fauzi, A., & Yunial, A. H. 2024. Analisis sentimen US airline pada media sosial menggunakan perbandingan algoritma data mining. Jurnal Edukasi Dan Penelitian Informatika (JEPIN), 10(2), 277. https://doi.org/10.26418/jp.v10i2.76024
Frissen, I., & Evans, M. M. 2024. Experimental research in knowledge management. Knowledge and Process Management, 31(1), 60–68. https://doi.org/10.1002/kpm.1764
Gudankwar, A., Mendhe,P. M., Oghare, L. N., & Yemde, A. R. 2024. Sentiments of public opinion. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 10(2), 459–461. https://doi.org/10.32628/cseit2410239
Harron, S., Saxena, V., & Kumari, N. 2024. Exploring the use of particle swarm optimization algorithms to enhance evolutionary computing. 2024 International Conference on Optimization Computing and Wireless Communication (ICOCWC), 1–6. https://doi.org/10.1109/ICOCWC60930.2024.10470721
Hutapea, P. S., & Maharani, W. 2023. Sentiment analysis on twitter social media towards shopee e- commerce through support vector machine (SVM) method. JINAV: Journal of Information and Visualization, 4(1). https://jinav.org/index.php/jinav/article/view/1504
Isnain, A. R., Sakti, A. I., Alita, D., & Marga, N. S. 2021. Sentimen analisis publik terhadap kebijakan lockdown pemerintah Jakarta menggunakan algoritma SVM. Jurnal Data Mining Dan Sistem Informasi, 2(1), 31. https://doi.org/10.33365/jdmsi.v2i1.1021
Jain, S., Jain, S. K., & Vasal, S. 2024. An effective TF-IDF model to improve the text classification performance. 2024 IEEE 13th International Conference on Communication Systems and Network Technologies (CSNT), 1–4. https://doi.org/10.1109/csnt60213.2024.10545818
Jamil, M., Hadiyanto, H., & Sanjaya, R. 2024. Sentiment analysis: classifying public comments on Youtube in disaster management simulation in Indonesia using naïve bayes and support vector machine. Ingenierie Des Systemes d’Information, 29(2), 437–446. https://doi.org/10.18280/isi.290205
Karunanithi, M. 2023. An improved particle swarm optimization algorithm. 2023 IEEE 64th International Scientific Conference on Information Technology and Management Science of Riga Technical University (ITMS), 1–6. https://doi.org/10.1109/ITMS59786.2023.10317698
Novianti, D. N., Shiddieq, D. F., Roji, F. F., & Susilawati, W. 2024. Comparison of support vector machine and naïve bayes algorithms for sentiment analysis of the metaverse. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(April), 231–239.
Priyatno, A. M., & Ningsih, L. 2022. TF-IDF weighting to detect spammer accounts on twitter based on tweets and retweet representation of tweets. Sistemasi, 11(3), 614. https://doi.org/10.32520/stmsi.v11i3.1995
Puspitaningrum, S. R., & Sundoko, H. F. 2023. Pemindahan ibu kota negara : pembangunan kota inklusif dan berkelanjutan. Jurnal Sosial Politik RESOLUSI, 6(2), 127–147. https://doi.org/10.32699/resolusi.v6i2.6096
Putri, D. I., Alfian, A. N., Putra, M. Y., & Mulyo, P. D. 2024. IndoBERT model analysis: twitter sentiments on indonesia’s 2024 presidential election. Journal of Applied Informatics and Computing, 8(1), 7–12. https://doi.org/10.30871/jaic.v8i1.7440
Rusydi Umar, Sunardi, & Nuriyah, M. N. A. 2023. Comparing the performance of data mining algorithms in predicting sentiments on twitter. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 7(4), 817–823. https://doi.org/10.29207/resti.v7i4.4931
Sari, H., Leonarde Ginting, G., & Zebua, T. 2021. Penerapan algoritma text mining dan TF-IDF untuk pengelompokan topik skripsi. Terapan Informatika Nusantara, 2(7), 414–432. https://ejurnal.seminar-id.com/index.php/tin
Setiawan, Y., Gunawan, D., & Efendi, R. 2022. Feature extraction TF-IDF to perform cyberbullying text classification: a literature review and future research direction. 2022 International Conference on Information Technology Systems and Innovation, ICITSI 2022 - Proceedings, 283–288. https://doi.org/10.1109/ICITSI56531.2022.9970942
Silva, J. G. C. 2022. Experimental research. SpringerBriefs in Applied Sciences and Technology, 16(November), 25–46. https://doi.org/10.1007/978-3-030-92130-9_4
Tan, J. J., Firdaus, A., & Aksar, I. A. 2024. Social media for political information: a systematic literature review. Jurnal Komunikasi: Malaysian Journal of Communication, 40(1), 77–98. https://doi.org/10.17576/JKMJC-2024-4001-05
Utama, H., & Masruro, A. 2022. Analisis sentimen pada twitter menggunakan word embedding dengan pendekatan word2vec. Jurnal Sistem Cerdas, 5(2), 128–134. https://doi.org/10.37396/jsc.v5i2.242
Villavicencio, C., Macrohon, J. J., Inbaraj, X. A., Jeng, J. H., & Hsieh, J. G. 2021. Twitter sentiment analysis towards covid-19 vaccines in the Philippines using naïve bayes. Information (Switzerland), 12(5). https://doi.org/10.3390/info12050204
Wang, C. K. 2023. Sentiment analysis using support vector machines, neural networks, and random forests. Atlantis Press International BV. https://doi.org/10.2991/978-94-6463-300-9_4
Xiang, L. 2022. Application of an improved tf-idf method in literary text classification. Advances in Multimedia, 2022. https://doi.org/10.1155/2022/9285324
Yulfa, R. I., Setiawan, B. H., Lourensius, G. G., & Purwandari, K. 2023. Enhancing hate speech detection in social media using indoBERT model: a study of sentiment analysis during the 2024 indonesia presidential election. ICCA 2023 - 2023 5th International Conference on Computer and Applications, Proceedings, 7, 1–6. https://doi.org/10.1109/ICCA59364.2023.10401700