Implementation of the Naïve Bayes Algorithm in the SMS Spam Filtering System

DOI:

https://doi.org/10.47709/cnahpc.v6i2.3875

Dimension:

Keywords:

Message Classification System, Naïve Bayes, Spam, SMS Messages, TF-IDF

Abstract

In the context of the escalating global spam activity, supported by data from CNN Indonesia in 2021, this research aimed to investigate the root causes and characteristics of this phenomenon. The approach employed in this study involved a series of exploration and classification stages of text messages with the clear objective: to determine whether each message fell into the spam category or not, utilizing the Naïve Bayes method. Additionally, the research aimed to identify the factors influencing the status of text messages, whether they were considered as spam or not. The Naïve Bayes classification method was chosen to facilitate the process of identifying spam-related messages. The dataset used in this research had an 80:20 ratio and was obtained from the Department of Communication and Informatics of Asahan Regency. This data was used to train and test the developed classification model. Data labeling processes were conducted to uncover the factors influencing the status of text messages as spam or non-spam. The research findings indicated that issues related to spam and non-spam messages remained a serious concern. The high accuracy rate, reaching 92%, achieved by the Naïve Bayes method in classifying messages, demonstrated the effectiveness of the method in detecting spam messages.

Downloads

Download data is not yet available.

References

Adila, N., Khasanah, S., & Sutabri, T. (2023). STRATEGI PERANCANGAN SISTEM AMAVIS DAN SPAMASSASSIN PADA SPAM MAIL. Jurnal Sain Dan Teknik, 5(2), 154–166.

Arisona, D. C., Wibowo, G. N. A., Siswanto, & Gunawan. (2023). Klasifikasi Pesan Biasa, Operator, Spam, dan Debt Collector Menggunakan K-Nearest Neighbor. Insypro, 8(2), 1–6.

Aulia, Z. N., Jati, G. K., & Santoso, I. (2023). ANALISIS SENTIMEN TANGGAPANPUBLIC MENGENAI E-TILANG MELALUI MEDIA SOSIAL YOUTUBE MENGGUNAKAN ALGORITMA NAIVE BAYES. Jurnal IKRAITH-INFORMATIKA, 7(2), 150–156.

Batubara, M. Z., & Nasution, M. I. P. (2023). Sistem Informasi Online Pengelolaan Dana Sosial Pada Rumah Yatim Sumatera Utara. Jurnal Teknologi Dan Sistem Informasi Bisnis, 5(3), 164–171.

Fachri, B., & Sembiring, R. M. (2020). Pengamanan Data Teks Menggunakan Algoritma DES Berbasis Android. JURNAL MEDIA INFORMATIKA BUDIDARMA, 4(1), 110–116. https://doi.org/10.30865/mib.v4i1.1700

Fitriana, D. N., Setifani, N. A., & Yusuf, A. (2020). PERBANDINGAN ALGORITMA NAÏVE BAYES, SVM, DAN DECISION TREE UNTUK KLASIFIKASI SMS SPAM. JUSIM (Jurnal Sistem Informasi Musirawas), 5(2), 167–174.

Ikhsan, M. (2021). Spam di RI Naik Dua Kali Lipat 2021, Aksi Penipu Tepat Sasaran. Retrieved from CNN Indonesia website: https://www.cnnindonesia.com/teknologi/20211220131919-185-736203/spam-di-ri-naik-dua-kali-lipat-2021-aksi-penipu-tepat-sasaran

Lumbantobing, R. D. H., Manalu, E. M., Sitinjak, D. S. P., & Manurung, T. W. (2021). Rancangan Aplikasi Mobile Pendeteksi Spam SMS di Indonesia. JURNALTIO, 2(1), 24–29.

Panggabean, E. S. … Iqbal, M. (2023). Memahami Spam Terhadap Digitalisasi Masyarakat Desa Perkebunan Sei Balai Kecamatan Sei Balai Kabupaten Batubara. Jurnal Pengabdian Masyarakat (JAPAMAS), 2(2), 270–278.

Reviantika, F., Azhar, Y., & Marthasari, G. I. (2021). Analisis Klasifikasi SMS Spam Menggunakan Logistic Regression. Jurnal Sistem Cerdas, 4(3), 155–160.

Rizki, M., Arhami, M., & Huzeni. (2021). PERBAIKAN ALGORITMA NAIVE BAYES CLASSIFIER MENGGUNAKAN TEKNIK LAPLACIAN CORRECTION. Jurnal Teknologi, 21(1), 39–45.

Sari, M., Purnomo, H. D., & Sembiring, I. (2022). Review?: Algoritma Kriptografi Sistem Keamanan SMS di Android. JIFOTECH (JOURNAL OF INFORMATION TECHNOLOGY), 2(1), 11–15.

Shenita, E., & Suendri. (2023). Web-Based Village Fund Assistance Distribution Information System Using the Quota Based Method. Sinkron?: Jurnal Dan Penelitian Teknik Informatika, 8(2), 708–718.

Sutra Dewi, I. (2022). Perlindungan Hukum Bagi Konsumen Atas Sms Spam Yang Dikirim Oleh Operator Seluler.

Syahranitazli, & Samsudin. (2023). SISTEM INFORMASI GEOGRAFIS PERSEBARAN PONDOK PESANTREN KABUPATEN LANGKAT DAN BINJAI MENGGUNAKAN LEAFLET. Jurnal Pendidikan Teknologi Informasi (JUKANTI), 6(1), 2621–1467.

Downloads

Published

2024-05-31

How to Cite

Anggraini, D. A., Ikhsan, M. ., & Suhardi, S. (2024). Implementation of the Naïve Bayes Algorithm in the SMS Spam Filtering System. Journal of Computer Networks, Architecture and High Performance Computing, 6(2), 838–849. https://doi.org/10.47709/cnahpc.v6i2.3875

Citation Tracker

Cited by: 7 documents

2026: 4  ·  2025: 1  ·  2024: 2

  1. Attention-Enhanced Hybrid Deep Learning for Effective and Deployable SMS Spam Detection
    Robel Mamo
    Research Square , 2026
  2. Klasifikasi Sentimen Ulasan Produk E-Commerce Menggunakan Naive Bayes
    Anwar Musyaddad Rangkuti, Anwar Musyaddad Rangkuti, Hasbi Mustafa, Adi Guna Marios Tarihoran, Andre Andre
    JITSI Jurnal Informatika Dan Teknologi Sistem Informasi , 2026
  3. Implementation of Naive Bayes and Support Vector Machine for SMS Spam Classification Using the SMS Spam Collection Dataset
    Muhammad Abrar Rayhan
    Journal Artificial. , 2026
  4. Spam Message Classification Using the Naïve Bayes Algorithm Based on RapidMiner
    Muhamad Yusup, Mochamad Isham Fadillah, Rifky Adinanta Fauzanie, Risca Lusiana Pratiwi, Rani Irma Handayani, Euis Widanengsih
    Journal of Artificial Intelligence and Engineering Applications (JAIEA) , 2026
  5. Optimizing Email Spam Classification Using Naïve Bayes and Principal Component Analysis
    Shinta Virgiana, Rudi Kurniawan, Tati Suprapti
    Journal of Artificial Intelligence and Engineering Applications (JAIEA) , 2025
  6. State-of-the-art review on various applications of machine learning techniques in materials science and engineering
    Bing Yu, LiQin Zhang, Xiaoxia Ye, JunQi Wu, HuaYong Ying, Wei Zhu, Xiaoming Wu, Xiaoming Wu
    Chemical Engineering Science , 2024
  7. EGMA: Ensemble Learning-Based Hybrid Model Approach for Spam Detection
    Yusuf Bilgen, Mahmut Kaya
    Applied Sciences , 2024

Source: OpenAlex  · Updated 2026-11-08 06:19 UTC