Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines
Journal of Advanced Computer Knowledge and Algorithms · 2024
DOI: 10.29103/jacka.v1i2.15810 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Advanced Computer Knowledge and Algorithms, 2024. Verfasst von Muhammad Athallah Afif und 3 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
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.
Zitieren
APA
Afif, M. A., Ula, M., Rosnita, L., & Rizal, R. (2024). Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines. Journal of Advanced Computer Knowledge and Algorithms. https://doi.org/10.29103/jacka.v1i2.15810
Vancouver
Afif MA, Ula M, Rosnita L, Rizal R. Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines. Journal of Advanced Computer Knowledge and Algorithms. 2024. doi:10.29103/jacka.v1i2.15810
BibTeX
@article{Afif2024,
author = {Afif, Muhammad Athallah and Ula, Munirul and Rosnita, Lidya and Rizal, Rizal},
title = {Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines},
journal = {Journal of Advanced Computer Knowledge and Algorithms},
year = {2024},
doi = {10.29103/jacka.v1i2.15810}
}
EUVIMED