Sentiment analysis is a method to automaticallyunderstand, extract, and process a text data to obtain aninformation or an opinion contained in said data. This is donein order to determine whether an opinion is positive, negativeor neutral in relevance to a object, product or topic. Thisresearch is aimed to implement the decision tree algorithm intoour sentiment analysis application regarding the Russian andUkraine war. This issue has been a trending topic on twitterand is attracting many attention from the public. Therefore,we gathered their opinions and analyze them using the decisiontree algorithm. We managed to gather 1.069 data and obtainthe results along with their average scores by conducting 15tests using three different data partitions. Based on the resultsobtained we concluded that the data partition of 80% trainingdata and 20% testing data gained the highest average score. Theresult was 85.61% for accuracy, 86.27% for the precision, and86.01% for the recall.
Copyrights © 2023