The Indonesian Journal of Computer Science Research
Vol. 5 No. 2 (2026): Juli

Implementasi Regresi Logistik untuk Klasifikasi Cyberbullying pada Komentar Instagram Berbahasa Indonesia

Pita Penengah (Universitas Nusantara PGRI Kediri)
Erna Daniati (Universitas Nusantara PGRI Kediri)
M. Najibulloh Muzaki (Universitas Nusantara PGRI Kediri)



Article Info

Publish Date
31 Jul 2026

Abstract

The rapid growth of social media usage, especially Instagram, has increased user interaction while also raising the occurrence of cyberbullying in the form of insulting, mocking, and offensive comments that may negatively affect victims’ psychological conditions. This study aims to develop a cyberbullying detection model for Indonesian-language Instagram comments using the Logistic Regression algorithm with a Natural Language Processing (NLP) approach. The dataset used consists of 650 comments labeled as cyberbullying and non-cyberbullying. The preprocessing stages include cleaning, case folding, tokenization, stopword removal, and stemming, followed by text transformation into numerical representation using the Bag of Words method with CountVectorizer. The research applies the CRISP-DM methodology consisting of business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The evaluation results show that the Logistic Regression model performs well in classifying comments, achieving an accuracy of 83%, precision of 0.83, recall of 0.83, and F1-score of 0.83. These findings indicate that the combination of the Bag of Words method and Logistic Regression algorithm is effective for detecting cyberbullying in Indonesian Instagram comments.

Copyrights © 2026






Journal Info

Abbrev

IJCSR

Publisher

Subject

Computer Science & IT

Description

The Indonesian Journal of Computer Science Research (IJCSR) adalah jurnal yang memuat naskah ilmiah dari peneliti, akademisi, maupun praktisi, berupa hasil penelitian, tinjauan pustaka ( literature review ) dan/atau bentuk karya tulis ilmiah lainnya, yang khusus mengkaji bidang Ilmu Komputer antara ...