Analisis Sentimen Pembangunan IKN (Ibu Kota Nusantara) Pada Twitter Menggunakan Metode K- Nearest Neighbor, Naive Bayes Dan Support Vector Machines

Authors

  • Yossy Veiebrian Fitri Prasmono Universitas Pamulang
  • Arya Adhyaksa Waskita Universitas Pamulang, Kota Tangerang Selatan, Banten

Keywords:

K-Nearest Neighbors, Support Vector Machine (SVM), Naive Bayes, Sentiment Analysis, Twitter

Abstract

This research investigates the Nusantara Capital City (IKN) relocation, which has generated diverse opinions, including concerns over the chosen location and the swift ratification of related laws. Recently, the Indonesian government has called on the public to support IKN's development. To assess public sentiment regarding this relocation, sentiment analysis was performed on a dataset of tweets. After data cleaning, 502 tweets were analyzed, yielding 337 positive and 163 negative comments. The analysis utilized Support Vector Machine (SVM), Naive Bayes (NB), and K-Nearest Neighbor (K-NN) algorithms, incorporating feature selection through Particle Swarm Optimization (PSO). This study compares the performance of Naive Bayes, SVM, and K-NN without feature selection against those methods with feature selection, specifically analyzing their Area Under Curve (AUC) values to identify the most effective algorithm. The results indicate that the PSO-based SVM algorithm achieved the highest performance, with an accuracy of 97.63% and an AUC of 0.997. This research successfully identifies an optimal algorithm for classifying positive and negative comments regarding the relocation of the Nusantara Capital City, contributing valuable insights to public sentiment analysis in this context.

References

[1] Sang Intan Risqi Adi, B. B. (2024). Analisis Sentimen Masyarakat Terhadap Progress IKN Menggunakan Model Decision Tree. Tangerang, Januari 2024, Vol 8 No.1, , 57- 65.

[2] Liu, H. T. (2013). Electrical Power and Energy Systems An experimental investigation of two Wavelet-MLP hybrid frameworks for wind speed prediction using GA and PSO optimization. International Journal of Electrical Power & Energy Systems, 161-173.

[3] Saleh, A. (2015). Implementasi Naive Bayes . Journal of Informatics, Information System, Software Engineering and Applications (INISTA), 73-81.

[4] Naik, A. &. (2016). Correlation Review of Classification Algorithm Using Data Mining Tool: WEKA, Rapidminer,Tanagra, Orange and Knime. Procedia Computer Science, 662–668.

[5] Angelina Puput Giovani, A. T. (2020). ANALISIS SENTIMEN APLIKASI RUANG GURU DI TWITTER MENGGUNAKAN ALGORITMA KLASIFIKASI . Jurnal TEKNOINFO, 116-124.

Downloads

Published

2025-01-13