Implementasi Klasifikasi Teks Menggunakan Algoritma Naïve Bayes pada Sistem Pengarsipan Surat Masuk
Abstract
Incoming mail management is an important part of higher education administration because it is related to document storage, classification, and retrieval in a fast and accurate manner. However, the incoming mail archiving process at the General Administration and Finance Bureau (BAUK) of STMIK Widya Cipta Dharma is still carried out manually, making document grouping inefficient, slowing down archive retrieval, and potentially causing inconsistencies in determining mail categories. This study aims to implement the Naïve Bayes algorithm in a web-based incoming mail archiving system to support automatic mail classification. The system was developed using Laravel and Livewire as the main application, and Flask as the classification service. The dataset consisted of 79 incoming mail documents divided into four categories: requests, invitations, notifications, and reports. The preprocessing stage included case folding, text cleaning, tokenizing, stopword removal, and stemming. The results show that the system is able to automatically classify incoming mail and present detailed classification processes through training reports and classification results. Based on testing on 16 incoming mail documents, the model achieved an accuracy of 75.00%, an average precision of 63.89%, and an average recall of 72.22%. These results indicate that the Naïve Bayes algorithm is sufficiently effective in supporting a more structured and efficient incoming mail archiving process.
References
R. Yusuf, “PERKEMBANGAN PENGELOLAAN ARSIP DI ERA TEKNOLOGI,” Acarya Pustaka J. Ilm. Perpust. dan Inf., vol. 7, no. 1, 2020, doi: 10.23887/ap.v7i1.25634.
C. R. Agustina, “Optimalisasi Pelayanan Administrasi Melalui Tata Kelola Kearsipan Kantor Kapanewon Tempel,” Soc. J. Pengabdi. Masy., vol. 1, no. 2, pp. 89–94, Apr. 2022, doi: 10.55824/jpm.v1i2.84.
J. F. Indey and S. Supangat, “IMPLEMENTASI ALGORITMA NAÏVE BAYES DALAM SISTEM PENGARSIPAN SURAT BERBASIS AI DI GPI PAPUA KLASIS MIMIKA PAPUA TENGAH,” J. Ilm. Inform., vol. 12, no. 02, pp. 102–113, Sep. 2024, doi: 10.33884/jif.v12i02.9087.
E. Aprilia and K. N. L. Chamalinda, “Pendampingan Pengarsipan Berkas sebagai Upaya untuk Meningkatkan Efisiensi dan Akuntabilitas dalam Tata Kelola Administrasi,” J. Pengabdi. Masy., vol. 1, no. 1, 2025, [Online]. Available: https://journal.trunojoyo.ac.id/v3/sokla/article/view/156
F. R. Gerung, G. P. Maramis, and E. R. S. Moningkey, “Penerapan Algoritma Naive Bayes pada Arsip Surat Kantor Kecamatan Motoling Barat,” Ris. dan E-Jurnal Manaj. Inf. Komput., vol. 9, no. 2, 2025, doi: 10.33395/remik.v9i2.14786.
L. Tantowi and L. Wijayanti, “PELUANG DAN TANTANGAN PENYIMPANAN CLOUD STORAGE PADA DOKUMEN DIGITAL,” Shaut Al-Maktabah J. Perpustakaan, Arsip dan Dokumentasi, vol. 15, no. 1, pp. 118–131, Jun. 2023, doi: 10.37108/shaut.v15i1.803.
E. Martantoh and N. Yanih, “Implementasi Metode Naïve Bayes Untuk Klasifikasi Karakteristik Kepribadiaan Siswa Di Sekolah MTS Darussa’adah Menggunakan Php Mysql,” J. Teknol. Sist. Inf., vol. 3, no. 2, pp. 166–175, Sep. 2022, doi: 10.35957/jtsi.v3i2.2896.
M. Agustriya, M. Ula, and Kurniawati, “Analisis Kinerja Algoritma Klasifikasi Naïve Bayes Menggunakan Genetic Algorithm dan Bagging untuk Data Publik Risiko Transaksi Kartu Kredit,” J. Sist. dan Teknol. Inf., vol. 12, no. 3, p. 584, Jul. 2024, doi: 10.26418/justin.v12i3.80136.
L. B. Adzy, A. Asriyanik, and A. Pambudi, “ALGORITMA NAÏVE BAYES UNTUK KLASIFIKASI KELAYAKAN PENERIMA BANTUAN IURAN JAMINAN KESEHATAN PEMERINTAH DAERAH KABUPATEN SUKABUMI,” J. Mnemon., vol. 6, no. 1, pp. 1–10, May 2023, doi: 10.36040/mnemonic.v6i1.5714.
D. A. Nur’Faradila, L. Magdalena, and M. Febima, “Penerapan Naïve Bayes Classifier Untuk Klasifikasi Postingan Berita Hoaks Di Instagram Cirebon Saber Hoaks,” Media J. Inform., vol. 16, no. 2, p. 243, Dec. 2024, doi: 10.35194/mji.v16i2.4616.
H. P. Jelita, M. I. Sa’ad, and Wahyuni, “Penerapan Algoritma Naïve Bayes Dalam Analisis sentiment Masyarakat Terhadap STMIK Widya Cipta Dharma,” Bull. Inf. Technol., vol. 6, no. 2, 2025, doi: 10.47065/bit.v6i2.2029.
D. R. Maharani, L. T. Ningrum, and L. Utari, “Penerapan Metode Naive Bayes Untuk Pengelolaan Status Retensi Arsip,” TeknoIS J. Ilm. Teknol. Inf. dan Sains, vol. 15, no. 1, pp. 23–39, Feb. 2025, doi: 10.36350/jbs.v15i1.279.
I. Kasim, Yuyun, and S. Sahibu, “KLASIFIKASI SURAT DIGITAL MENGGUNAKAN ALGORITMA MACHINE LEARNING,” J. IT, vol. 13, no. 2, pp. 66–71, Aug. 2023, doi: 10.37639/jti.v13i2.350.
Y. Yulindawati, S. Lailiyah, A. Yusnita, and A. Hafifah, “Rekomendasi Pemilihan Judul Tugas Akhir Menggunakan Metode Naïve Bayes,” J. Inf. Syst. Manag., vol. 5, no. 2, pp. 171–175, 2024, doi: 10.24076/joism.2024v5i2.1383.
A. Widyantoro, F. Faradisa Al Bina, T. Prayoga, R. Safei, and M. Akmal Arrasid, “Systematic Literature Review: Membandingkan Pendekatan Metode Agile dan Waterfall Dalam Pengembangan Perangkat Lunak,” J. Compr. Sci., vol. 4, no. 1, pp. 183–193, Jan. 2025, doi: 10.59188/jcs.v4i1.2969.
M. Subli, R. Muslim, Z. Zaenudin, and A. Nadriati, “Sistem Informasi Pengolahan Data Pemesanan Makanan Dan Minuman Berbasis Website Menggunakan Framework Codeigniter,” Informatics Digit. Expert, vol. 3, no. 2, pp. 38–45, Nov. 2021, doi: 10.36423/index.v3i2.835.
Nurwati and Y. Santoso, “ANALISIS PERBANDINGAN K-NEAREST NEIGHBORS DAN NAIVE BAYES UNTUK REKOMENDASI PILIHAN PROGRAM STUDI BAGI MAHASISWA,” IDEALIS Indones. J. Inf. Syst., vol. 8, no. 1, 2025, doi: 10.36080/idealis.v8i1.3344.
S. H. Ramadhani and M. I. Wahyudin, “Analisis Sentimen Terhadap Vaksinasi Astra Zeneca pada Twitter Menggunakan Metode Naïve Bayes dan K-NN,” J. JTIK (Jurnal Teknol. Inf. dan Komunikasi), vol. 6, no. 4, pp. 526–534, Feb. 2022, doi: 10.35870/jtik.v6i4.530.
M. U. Albab, Y. K. P., and M. N. Fawaiq, “Optimization of the Stemming Technique on Text Preprocessing President 3 Periods Topic,” J. Transform., vol. 20, no. 2, pp. 1–12, Jan. 2023, doi: 10.26623/transformatika.v20i2.5374.
F. A. Ramadhan, S. H. Sitorus, and T. Rismawan, “Penerapan Metode Multinomial Naïve Bayes untuk Klasifikasi Judul Berita Clickbait dengan Term Frequency - Inverse Document Frequency,” J. Sist. dan Teknol. Inf., 2023, doi: 10.26418/justin.v11i1.57452.
Copyright (c) 2026 Nur Afifah, Ita Arfyanti, Yunita

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


.png)
.png)


