Community opinions are sometimes difficult to convey to the person in charge directly, it encourages people to express their opinions, criticisms and the like through social media, one of which is the popular social media today is Twitter. One collection of opinions or tweets from Twitter users about the PSBB effect one of which can be used as an analysis of public opinion sentiments. Data on the effects of PSBB were obtained as many as 2439 tweets, then processed using data mining techniques (data mining), in which there are processes of Collecting Data, text preprocessing and classification. Then it is tested into three different algorithms to be compared, the algorithm used is Decision Tree, Naïve Bayes Classifier and K-Nearest Neighbors (K-NN ) with the aim of finding the best accuracy. The highest results from this study were the Decision Tree algorithm with an accuracy value of 84.78%, precision 84.78% and recall 100%.
Keywords: twitter, sentiment analysis, decision tree
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.