The use of social media that is increasingly easy and affordable becomes a new forum for Indonesian people to express their thoughts freely. Included in the preparation period for a democratic party held every five years. The public can freely believe through the social media they have, especially through twitter. People who come from different backgrounds often provide opinions that can lead to pros and cons. It can be used as feedback on political parties that carry presidential, vice-presidential, and successful team candidates so that they will be useful in potential assessments and can be used for better purposes. Sentiment analysis is done by sorting data from Twitter which is an opinion on political parties and the executive candidates they carry. The data is divided into 2 categories, positive and negative categories. The methods that will be used for sentiment analysis include preprocessing, word staining with TF-IDF, and making a classification model with the Support Vector Machine and K-Fold Cross Validation approach to test the accuracy of the model. The result of making a classification model is Support Vector Machine with training data of 900 to get 86% accuracy and testing using 10-Fold Cross Validation get an average accuracy rate of 71% with an error rate of 29%
Copyrights © 2019