Abstract

Indonesia is a Democrat nation. A general election known as the PEMILU has become a tradition of the nation that is synonymous with political issues and leadership turnover. Social media is one place in expressing the opinions and aspirations of people including politics, Twitter is one of the social media used as a place for politicians including two couples of presidential candidate and vice president of INDONESIA in Campaign to win a vote in the elections of 17 April 2019. This research analyzes public opinion i.e. comments on Twitter accounts @jokowi, @KyaiMarufAmin, @prabowo, @sandiuno into two categories of positive and negative opinions by comparing the text classifier model Naïve Bayes and SVM, and the implementation of The PSO algorithm to obtain optimal accuracy results. The results of the study show Prabowo Sandi won the prediction of presidential candidate with the best accuracy result of 77.00% acquired model Naïve Bayes + PSO, and 86.20% acquired model SVM + PSO, with an increase in accuracy 7.5% on model SVM, And 2.1% on the model Naïve Bayes when compared before done optimization with PSO algorithm.

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.