Sentiment analysis is a process that aims to determine the content of the dataset in the form of positive, negative and neutral text. Currently the opinion of the general public is an important source of decision making. Social media is a place to express public opinion on an object, problem or event. Such as the government's policy regarding the relocation of the capital city of Indonesia, which was originally in Jakarta to Kalimantan, did not escape the attention of the public, especially Twitter users. One of the problems in sentiment analysis is the high number of attributes and dimensions in the dataset. In this study, sentiment analysis was carried out on the relocation of the national capital using the Naïve Bayes method, and the Support Vector Machine based on Particle Swarm Optimization (PSO). The advantages of the Support Vector Machine are High dimensional space and Vector document space. Feature selection greatly affects the performance of the classification, the use of PSO as feature selection to improve accuracy. The results of this study obtained the best accuracy value of 96.45% and the AUC value of 0.920 from the application of PSO on the Support Vector Machine. This result has increased when compared to the experimental results using Naïve Bayes and Support Vector Machine without PSO. The application of PSO on the Support Vector Machine is proven to get better accuracy results in predicting sentiment analysis on the dataset of moving the State Capital.
Copyrights © 2022