TECHNOVATE
Vol. 2 No. 1 (2025): January 2025

Sentiment Analysis of Twitter Comments (X) on the Cyanide Coffee Case Using Comparison of Naïve Bayes and K-NN Method Results

Ulandari, I Gusti Agung Ayu Manik (Unknown)
Wiguna, I Komang Arya Ganda (Unknown)
Setiawan, I Made Dedy (Unknown)



Article Info

Publish Date
31 Jan 2025

Abstract

Twitter is a social media platform that is often used by the general public to communicate and gather information. Through this social media, users can express various opinions or comments about a particular issue such as the cyanide coffee case. The methods used in this research are Naïve Bayes and K-NN methods and the purpose of this research is to compare the two methods in sentiment analysis of the cyanide coffee case. In testing this sentiment analysis using 3 stages of scenarios, where the 60:40 ratio is used for scenario number 1, the 70:30 ratio is used for scenario 2 and the 80:20 ratio is used for scenario 3. From the test results that have been carried out, it can be seen that testing the Naïve Bayes method in scenario 3 is superior to other scenarios with 87.76% accuracy, 92.80% precision and 67.09% recall. Meanwhile, the K-NN method in scenario 3 is superior to other scenarios with an accuracy of 80.60%, precision of 89.87% and recall of 61.72%.

Copyrights © 2025






Journal Info

Abbrev

technovate

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Education

Description

TECHNOVATE: Journal of Information Technology and Strategic Innovation Management is a scientific journal that publishes original articles based on the latest knowledge, research, and applied research as well as the latest scientific developments in Information Technology, Enterprise-Oriented ...