%V 13 %I Informatics Department - State Islamic University UIN Sunan Kalijaga Yogyakarta %P 386-399 %N 1 %X Using Twitter as a platform for sharing information includes tracking public perceptions of the performance of the Indonesian National Police (POLRI). Public sentiment assists as a gauge for evaluating POLRI's operational capabilities and supports decision-making processes to enhance the organization's reputation. However, raw public opinion data often requires careful analysis for decision-making. Hence, conducting sentiment analysis of Twitter data is crucial. This analytical process involves extracting and classifying opinions into neutral, positive, and negative sentiments. This study employs two distinct sentiment analysis methods: the Naive Bayes algorithm and the K-Nearest Neighbors. Analysis of 1285 tweets reveals prevailing satisfaction with POLRI's performance, indicated by many positive sentiments. However, there is also a notable number of negative feelings. The assessment from confusion matrix results demonstrate that the Naive Bayes algorithm achieves 99.03% accuracy, while the K-Nearest Neighbors algorithm achieves 95.33% accuracy. By leveraging insights from public opinion data, POLRI can make more accurate and timely decisions, enabling it to better fulfill the community's needs and expectations. This strategic use of data enhances service quality and bolsters POLRI's favorable image among the public fosters more harmonious relationships and enhances public trust in law enforcement agencies. %A Firman Noor Hasan %R https://doi.org/10.14421/ijid.2024.4500 %T (IJID - S3) - Handika, Hanif, Hasan [2024-06-30] %D 2024 %L repository35064 %J IJID : International Journal on Informatics for Development