Abstract

The relocation state capital of Indonesia raises various responses, especially from the Indonesian people. The discussion related to these issues is very interesting to study, how are the positive and negative sentiments of the Indonesian towards the government's decision. This study aims to analyze the sentiments of the Indonesian people regarding the relocation state capital of Indonesia, including the chosen name of Nusantara on Twitter. In this study, a comparison of 3 algorithms is used, namely the Support Vector Machine (SVM), Naïve Bayes, and K-Nearest Neighbor (KNN) algorithms. From this study, the results obtained are 1,141 positive comments, while negative sentiments are 591 comments. This shows that the Indonesian people have a positive opinion towards the new capital city of Indonesia. In the classification and model testing phase, 10-fold cross validation is used. From these tests, the SVM algorithm obtained an accuracy value of 85.71%, the Naïve Bayes algorithm obtained an accuracy value of 76.70%, the KNN algorithm obtained an accuracy value of 52.74%. This study shows that the SVM algorithm can work better than the Naïve Bayes algorithm and KNN. The accuracy value for the KNN algorithm obtains a low value, this is because the KNN algorithm is sensitive to features that are less relevant.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.