Journal of Advanced Computer Knowledge and Algorithms
Vol 1, No 2 (2024): Journal of Advanced Computer Knowledge and Algorithms - April 2024

Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines

Afif, Muhammad Athallah (Unknown)
Ula, Munirul (Unknown)
Rosnita, Lidya (Unknown)
Rizal, Rizal (Unknown)



Article Info

Publish Date
01 Apr 2024

Abstract

This research explores the application of TF-IDF (Term Frequency-Inverse Document Frequency) and K-Nearest Neighbor (K-NN) in constructing a clickbait detection system for Indonesian online news headlines. The TF-IDF method is employed to ascertain the significance of words in news headlines, utilizing a tokenization process to generate numeric representations. The TF-IDF matrix serves as features in the K-NN classification model, with k=1 determining the most similar class. Model evaluation yields outstanding results, achieving accuracy, precision, recall, and F1-Score all reaching 1.0. The confusion matrix unveils no misclassifications, affirming the model's adeptness in correctly classifying all samples.

Copyrights © 2024






Journal Info

Abbrev

jacka

Publisher

Subject

Computer Science & IT

Description

JACKA journal published by the Informatics Engineering Program, Faculty of Engineering, Universitas Malikussaleh to accommodate the scientific writings of the ideas or studies related to informatics science. JACKA journal published many related subjects on informatics science such as (but not ...