SENTRI: Jurnal Riset Ilmiah
Vol. 5 No. 2 (2026): SENTRI : Jurnal Riset Ilmiah, Februari 2026 (In Press)

Deteksi Email Spam Menggunakan Multinomial Naive Bayes dengan Teknik Bag of Words

Mulyaningtyas, Widya (Unknown)
Kusrini, Kusrini (Unknown)



Article Info

Publish Date
27 Feb 2026

Abstract

Email is a means of communication within internal networks and the internet for the exchange of information. Email is still used today because of its ease of use. However, with the increase in the number of incoming emails, the problem of spam has arisen, requiring effective methods for detecting spam so that users can manage their email more efficiently and avoid potential fraud and disruption. This study aims to analyze the thematic and linguistic patterns of email messages based on their content using text classification techniques with the Multinomial Naive Bayes algorithm, which is believed to have good accuracy in detecting spam emails. The research consists of collecting a dataset related to Indonesian-language spam emails, preprocessing the data, training the model by dividing it into two scenarios (with and without stemming), and evaluating the model. Features from the email text will be converted into numerical representations using the Bags-of-Words method. Classification performance evaluation is carried out using accuracy, precision, recall, F1-Score, and confusion matrix metrics. Experimental results demonstrate that the Multinomial Naive Bayes model without stemming achieved the highest performance with an Accuracy of 92.5%, Precision of 91.0%, and F1-Score of 91.7%. These findings indicate that stemming in short texts like spam emails eliminates crucial semantic features (affixes) characteristic of spam. This study contributes to providing optimal pre-processing recommendations for Indonesian short text classification.

Copyrights © 2026






Journal Info

Abbrev

sentri

Publisher

Subject

Aerospace Engineering Humanities Computer Science & IT Economics, Econometrics & Finance Law, Crime, Criminology & Criminal Justice

Description

SENTRI: Jurnal Riset Ilmiah accomodates original research, or theoretical papers. We invite critical and constructive inquiries into wide range of fields of study with emphasis on interdisciplinary approaches: Humanities and Social sciences, that include: Engineering Agriculture Economics Health IT ...