One of the figures as a presidential candidate is Anies Baswedan, the former governor of DKI Jakarta who received many awards and has an effective work program policy for problems in the DKI Jakarta area. Many comments about Anies Baswedan as a 2024 presidential candidate are found on YouTube social media. Youtube facilitates users to provide comments in response to videos which can be used as sentiment analysis information to find out positive comments and negative comments. The algorithm used in this research is the naïve bayes classifier. There are five main processes in this research, namely data collection, text preprocessing, word weighting (TF-IDF), classification (Naïve Bayes Classifier) and testing. From 1009 comment data on Indonesian-language youtube related to the Anies Baswedan video as a 2024 presidential candidate. Based on the analysis results, there are 610 positive comments and 399 negative comments. The accuracy result using the naïve bayes classifier algorithm is 78% which is obtained by using a comparison of 90% training data and 10% test data.
Copyrights © 2023