As the time goes by, many information distribution institutions that initially conveyed news through printed media or electronic media, such as newspapers and television, turned in to digital media such as news portals which using the internet. In general, the news which been presented in the news portal consists of several categories, such as education news, health news, and other categories news. However, when grouping those news into its certain categories, some are still doing it manually, for instance by gathering several source persons to agree on which category the news belongs to. Compared to the manual method, news grouping can be done using an algorithm that can automatically classify news in to its category based on its content, either from its title or its scripts. Naïve Bayes is one of the algorithms that can be implemented for grouping news based on its text. Before classifying the news based on its text, it is necessary to collect the news data from both of its news scripts along with its title. In this study, the data were used was taken from several online media sources through the Google Alerts service which generates a search engine based on the selected criteria. Based on the testing results using 295 news scripts, 236 training data, and 59 testing data, it was obtained result of 74.58% accuracy.
Copyrights © 2021