According to the Jakarta Air Quality Index (AQI US) 12 July 2023, 200 indicates unhealthy air quality with an index value between 151 and 200. This figure even shows that Jakarta is currently the second most polluted city in Southeast Asia. (CNN Indonesia., 2023). This incident gave rise to responses from the public which were expressed via social media Twitter. From this incident, sentiment analysis was carried out regarding Jakarta's air quality. The amount of data used for this research was 500 tweet data. The results of the positive and negative sentiment analysis show that negative sentiment appears more frequently than positive sentiment with a percentage of 7% positive sentiment and 14% negative sentiment, by using the Rstudio application. This method uses the naïve Bayes classifier. Data division in the dataset with training data 1:499 and test data 1:476. It was found that the results of the Accuracy, Precision, Recall, and F1-Score values were Accuracy 87.50%, Precision 87.50 Recall 93.33%, and F1-Score 82.35%.
Copyrights © 2024