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

Comparative Study of Machine Learning Methods for Sentiment Analysis of TikTok Comments Related to Cyberbullying

Mariwy, Celestina Florecita (Unknown)
Baisa, Lorna Yertas (Unknown)
Sumendap, Andreas Leonardo (Unknown)



Article Info

Publish Date
14 Apr 2026

Abstract

The rapid growth of internet use in Indonesia has contributed to the rise of cyberbullying on TikTok, increasing the importance of automated sentiment analysis for digital safety. This study compares the performance of Support Vector Machine, K-Nearest Neighbors, and Naive Bayes in classifying sentiments in TikTok comments related to cyberbullying. The dataset was collected via web scraping and processed through several preprocessing stages, yielding 7,900 unique comments. Sentiment labeling used a lexicon-based approach, and the data were split into training and testing sets with an 80:20 ratio. Results show that 34.18% of comments were negative, indicating a notable level of harmful content. Among the three models, Support Vector Machine performed best with an accuracy of 91.5%, followed by Naive Bayes at 82.8% and K-Nearest Neighbors at 80.8%. These findings suggest Support Vector Machine is the most effective method for sentiment classification in this context and offer a useful reference for developing more accurate content moderation systems on social media.

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 ...