The widespread circulation of hoax news in the information technology era is increasingly troubling, therefore in this era an algorithm to classify hoax news is necessary, in this study researchers focused on optimizing the accuracy of hoax news classification in text documents. The algorithm that will be used is Naive Bayes and cosine Similarity which previously has been applied with particle swarm optimization algorithm. In this study, it was concluded that after feature selection using PSO in the Naive Bayes algorithm the accuracy obtained increased from 0.91 to 0.93 while in the cosine similarity algorithm the accuracy increased from 0.62 to 0.73 after feature selection using PSO
Copyrights © 2022