Indonesian Journal of Artificial Intelligence and Data Mining
Vol 9, No 1 (2026): March 2026

Classification of Online Gambling Spam Comments on YouTube Using Support Vector Machine

Pariamalinya, Umbu Anaagung (Unknown)
Limbong, Josua Josen A. (Unknown)
Naibaho, Julius Panda Putra (Unknown)



Article Info

Publish Date
15 Apr 2026

Abstract

While digital transformation has established YouTube as a major communication platform, the site has also become vulnerable to online gambling spam in Indonesia. This study investigates the effectiveness of the Support Vector Machine (SVM) algorithm for automated spam detection as an alternative to manual moderation. A total of 9,169 comments were collected from gaming, education, and entertainment channels using the YouTube Data API v3 and were used to train and evaluate the model with an 80:20 data split. The experimental results show that SVM achieved an accuracy of 99.62% and an F1-score of 0.996, demonstrating strong capability in identifying spam comments written in informal and modified promotional language. The main contribution of this study is the development of a highly accurate and practical spam detection approach for Indonesian YouTube comments, which can support more efficient moderation systems. However, the model still has limitations in detecting sarcastic content. Therefore, future research should explore deep learning models such as BERT to improve contextual understanding and strengthen automated moderation in digital environments.

Copyrights © 2026






Journal Info

Abbrev

IJAIDM

Publisher

Subject

Computer Science & IT

Description

Indonesian Journal of Artificial Intelligence and Data Mining (IJAIDM) is an electronic periodical publication published by Puzzle Research Data Technology (Predatech) Faculty of Science and Technology UIN Sultan Syarif Kasim Riau, Indonesia. IJAIDM provides online media to publish scientific ...