Classification Cyber Harassment on Twitter using Multinomial Naïve Bayes

Multinomial Naïve Bayes is a classification method in Naïve Bayes Classifier based on Bayes Theorem and multinomial distribution. This method works optimally in the multiclass classification of text data. Furthermore, it calculates the probability of occurrence of each word by multiplying the class prior probability by the likelihood value of the occurrence of each word in each class. The phenomenon of Cyber Harassment is defined as the behavior of utilizing technology to harm or humiliate people, which has four types of behavior, namely Physical Threats, Purposeful Embarrassment, Racist, and Sexual Harassment. The number of Cyber Harassment cases always increases every year even though the government has made policies to deal with Cyber Harassment cases. The study aims to classify results accurately regarding the types of Cyber Harassment on Twitter using the Multinomial Naïve Bayes method. The classification results obtained are 20 tweets classified as Physical Threats, 10 tweets classified as Purposeful Embarrassment, 25 tweets classified as Racist, and 22 tweets classified as Sexual Harassment. The accuracy of classification of types of Cyber Harassment on Twitter social media using Multinomial Naïve Bayes is 77%, and the results of the model performance test with K-fold cross-validation is 76.21%, showing that the Multinomial Naïve Bayes method can classify the types of Cyber Harassment on Twitter social media is well effective.

Authors

Institutions

Publication Details

Journal
Matics Jurnal Ilmu Komputer dan Teknologi Informasi (Journal of Computer Science and Information Technology)
Published
2025-09-29
DOI
https://doi.org/10.18860/mat.v17i2.29866
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classification Cyber Harassment on Twitter using Multinomial Naïve Bayes

Ria Dhea Layla Nur Karisma
Matics Jurnal Ilmu Komputer dan Teknologi Informasi (Journal of Computer Science and Information Technology)
Spam and Phishing Detection
article

Classification Cyber Harassment on Twitter using Multinomial Naïve Bayes

Ria Dhea Layla Nur Karisma
article en

Abstract

Multinomial Naïve Bayes is a classification method in Naïve Bayes Classifier based on Bayes Theorem and multinomial distribution. This method works optimally in the multiclass classification of text data. Furthermore, it calculates the probability of occurrence of each word by multiplying the class prior probability by the likelihood value of the occurrence of each word in each class. The phenomenon of Cyber Harassment is defined as the behavior of utilizing technology to harm or humiliate people, which has four types of behavior, namely Physical Threats, Purposeful Embarrassment, Racist, and Sexual Harassment. The number of Cyber Harassment cases always increases every year even though the government has made policies to deal with Cyber Harassment cases. The study aims to classify results accurately regarding the types of Cyber Harassment on Twitter using the Multinomial Naïve Bayes method. The classification results obtained are 20 tweets classified as Physical Threats, 10 tweets classified as Purposeful Embarrassment, 25 tweets classified as Racist, and 22 tweets classified as Sexual Harassment. The accuracy of classification of types of Cyber Harassment on Twitter social media using Multinomial Naïve Bayes is 77%, and the results of the model performance test with K-fold cross-validation is 76.21%, showing that the Multinomial Naïve Bayes method can classify the types of Cyber Harassment on Twitter social media is well effective.

Matics Jurnal Ilmu Komputer dan Teknologi Informasi (Journal of Computer Science and Information Technology)Vol. 17(2)
State University of Malang (ID), Universitas Islam Negeri Maulana Malik Ibrahim (ID)
Openalex Percentile: Top 61%
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.