Journal of Smart Technology and Engineering
Vol. 1 No. 1 (2025)

Perbandingan Algoritma Machine Learning Umum Berbasis TF-IDF untuk Klasifikasi Artikel Bahasa Indonesia

Andi Gunawan (Universitas Kristen Maranatha Bandung)
Hendra Bunyamin (Universitas Kristen Maranatha Bandung)



Article Info

Publish Date
30 Sep 2025

Abstract

This study compares the performance of common machine learning algorithms in the classification of Indonesian news articles. A Dataset of 2160 articles from Detik.com was pre-processed and transformed into feature vectors using the Term Frequency-Inverse Document Frequency (TF-IDF) technique. The algorithms tested were Multinomial Naïve Bayes, Bernoulli Naïve Bayes, K-Nearest Neighbor, Random Forest and AdaBoost. Hyperparameter tuning was conducted using 5-fold cross-validation, and evaluation metrics included accuracy, precision, recall, and F1-score. The results indicate that Multinomial Naïve Bayes, with alpha set to 0.1, achieved the best overall performance with an accuracy of 0.8781, precision of 0.8138, recall of 0.8143, and F1-score of 0.814.

Copyrights © 2025






Journal Info

Abbrev

jste

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Industrial & Manufacturing Engineering

Description

Journal of Smart Technology and Engineering is a peer-reviewed, open access journal that publishes and disseminates high-quality, original research papers in the Smart Technology and Engineering Field. The Journal of Smart Technology and Engineering covers the following scope of research: ...