Multi-Label Text Classification in the Translated Hadith of Bukhari Using A Backpropagation Neural Network

Authors

  • Yuliana Mislianingsih Universitas Islam Negeri Sultan Syarif Kasim Riau
  • Nazruddin Safaat Harahap Universitas Islam Negeri Sultan Syarif Kasim Riau
  • Rahmad Abdillah Universitas Islam Negeri Sultan Syarif Kasim Riau
  • Reski Mai Candra Universitas Islam Negeri Sultan Syarif Kasim Riau

DOI:

https://doi.org/10.57152/malcom.v6i3.2865

Keywords:

Backpropagation Neural Network, Bukhari Hadith, Hamming Loss, Multilabel Classification

Abstract

Hadith is the second primary source of Islamic law. This study aims to classify the translations of Sahih al-Bukhari Hadith into three thematic categories simultaneously, namely recommendations, prohibitions, and information, using a multi-label classification approach with the Backpropagation Neural Network (BPNN) method. The dataset consists of 7,000 labeled instances. The preprocessing stage includes case folding and text cleaning without stopword removal or stemming to preserve the original meaning of the text. The novelty of this study lies in the comprehensive exploration of various model configurations, including variations in hidden layer architecture, learning rate values, and n-gram features, to identify the optimal network architecture. Feature extraction was performed using Term Frequency–Inverse Document Frequency (TF-IDF) with n-gram configurations of (1,1) and (1,2) and a maximum of 7,000 features. Three variations of the BPNN architecture (H1, H2, and H3) were evaluated using 10-fold cross-validation. The experimental results show that the simplest architecture, consisting of a single hidden layer with 64 neurons, a learning rate of 0.001, and an n-gram configuration of (1,1), achieved the best performance, with macro accuracy of 91.43%, F1-score of 89.59%, and Hamming loss of 0.0857.

Downloads

Download data is not yet available.

References

R. Dani and D. Jihanna Ilmi, “Klasifikasi Hadis ditinjau dari Segi Kuantitas dan Kualitas Sanad,” J. Kaji. Pendidik. Islam, 2024, doi: 10.58561/jkpi.v3i2.127|114.

A. Rizkia Annur, L. Hidayah Ansadatina, N. Leilani Assrie, N. Heriyani, V. Julia Harinda Putri Jurusan Ekonomi Pembangunan, and F. Ekonomi dan Bisnis, “Hadis Sebagai Ajaran dan Sumber Hukum Islam,” J. Relig. J. Agama, Sos. dan Budaya, vol. 1, 2023, [Online]. Available: https://maryamsejahtera.com/index.php/Religion/index

S. H. Pratiwi, U. Muhammadiyah Sumatera Barat, and N. Anita, “Klasifikasi Hadits Berdasarkan Kualitas: Kajian TentangHadis Sahih, Hasan, dan Dhaif,” J. Media Ilmu, vol. 3, no. 2, 2024.

A. Ramadhani, N. Safaat, S. Agustian, I. Iskandar, and S. Sanjaya, “Perbandingan Performa Metode Klasifikasi Teks Multilabel Hadis Terjemahan Bukhari Menggunakan Support Vector Machine dan Long Short Term Memory,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 3, pp. 896–907, Jun. 2025, doi: 10.57152/malcom.v5i3.2051.

R. Z. N. Ahmad, N. S. Harahap, S. Agustian, I. Iskandar, and S. Sanjaya, “Perbandingan Performa Random Forest dan Long Short-Term Memory dalam Klasifikasi Teks Multilabel Terjemahan Hadits Bukhari,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 3, pp. 862–874, Jun. 2025, doi: 10.57152/malcom.v5i3.2046.

D. Fatmarani Surianto, M. B. Fajar, and M. Rida Mulia, “Comparative Analysis of the Performance of Hadith Text Classification Methods: A Case Study with ANN and SVM,” 2024. [Online]. Available: https://ojs.unm.ac.id/JESSI/index

M. Febrina, “Jurnal J-MendiKKom (Jurnal Manajemen, Pendidikan dan Ilmu Komputer) Klasifikasi Sentimen Ulasan Produk Shopee Menggunakan Jaringan Syaraf Tiruan Backpropagation dan Random Forest,” Online, 2025.

R. Syam, W. Sanusi, and A. A. SYahnur, “Deteksi Information hoaks vaksin covid-19 Di media sosial twitter menggunakan jaringan syaraf tiruan backpropagation,” J. Math. Comput. Stat., vol. 7, no. 2, pp. 451–462, Oct. 2024, doi: 10.35580/jmathcos.v7i2.4433.

R. Azhar, S. Kurnia Gusti, I. Afrianty, and E. Budianita, “Bulletin Of Computer Science Research Perbandingan Teknik Penyeimbang Kelas Pada Multi-Layer Perceptron (MLP) Berbasis Backpropagation Untuk Klasifikasi Diabetes Mellitus,” Media Online), vol. 5, no. 6, pp. 1304–1314, 2025, doi: 10.47065/bulletincsr.v5i6.804.

F. S. Utomo, Y. Purwati, M. S. Azmi, L. Shafira, and N. Trinarsih, “Word embedding and imbalanced learning impact on Indonesian Quran ontology population,” Indones. J. Electr. Eng. Comput. Sci., vol. 39, no. 1, p. 603, Jul. 2025, doi: 10.11591/ijeecs.v39.i1.pp603-613.

R. Kustiawan, A. Adiwijaya, and M. D. Purbolaksono, “A Multi-label Classification on Topic of Hadith Verses in Indonesian Translation using CART and Bagging,” J. MEDIA Inform. BUDIDARMA, vol. 6, no. 2, p. 868, Apr. 2022, doi: 10.30865/mib.v6i2.3787.

A. Firizkiansah, A. Muhammad, I. R. Maulana, U. S. Indonesia, and K. Bekasi, “Optimasi Klasifikasi Data Teks Menggunakan Algoritma Logistic Regression dengan TF-IDF dan SMOTE,” vol. 2, no. 1, pp. 29–36, 2025.

D. C. Hidayati, S. Al Faraby, and A. Adiwijaya, “Klasifikasi Topik Multi Label pada Hadis Shahih Bukhari Menggunakan K-Nearest Neighbor dan Latent Semantic Analysis,” JURIKOM (Jurnal Ris. Komputer), vol. 7, no. 1, p. 140, Feb. 2020, doi: 10.30865/jurikom.v7i1.2013.

R. Antonius, A. R. Zulkarnain, and H. Irsyad, “Pendekatan TF-IDF , SMOTE , dan SVM dalam Klasifikasi Sentimen Masyarakat terhadap Pemblokiran Judi Online,” vol. 2, no. 3, pp. 115–122, 2024, doi: 10.58369/biit.v2i3.65.

K. Tanaman Herbal Berdasarkan Tekstur Daun Menggunakan, M. Ezperanza Florentiana Letik, and F. Yusuf Bisilisin, “KETIK?: Jurnal Informatika Faatuatua Media Karya,” J. Inform., vol. 01, no. 06, pp. 1–10, 2024.

A. I. Pradana and V. Atina, “Teknik K-Fold Cross Validation untuk Mengevaluasi Kinerja Mahasiswa,” pp. 239–248, 2024, doi: 10.33364/algoritma/v.21-1.1618.

F. Pritama, Ekat Rueh Daya Leluni, Yovita, and Jadiaman Parhusip, “Analisis Distribusi Kinerja SVM dan KNN Berdasarkan Rata Rata Simpangan Baku dan Stabilitas,” Informatech J. Ilm. Inform. dan Komput., vol. 1, no. 2, 2024, doi: 10.69533/xgqngy78.

A. Wahyudi, H. Nugroho, H. Nur, and R. Yulida, “Klasifikasi Penyakit Jantung Menggunakan Pendekatan Hybrid Iinformation Gain dan Backpropagation Neural Network ( BPNN ) Heart Disease Classification Using a Hybrid Approach of Information Gain and Backpropagation Neural Network ( BPNN ) Prodi Rekam Medis,” pp. 22–27, 2025.

Y. Artha, C. Saragih, and E. Suryani, “Implementation of Hybrid Backpropagation Neural Network and Particle Swarm Optimization for Predicting Household Electricity Consumption Based On Tariff Categories Implementasi Metode Hybrid Backpropagation Neural Network dan Particle Swarm Optimization u,” vol. 6, no. April, pp. 663–673, 2026.

K. Izza Ilyasa, M. Zoqi Sarwani, and A. Aris Widodo, “Deteksi Kepuasan Konsumen Terhadap Kualitas Produk Dan Layanan Pada Mie Gacoan Menggunakan Metode Backpropagation,” JATI (Jurnal Mhs. Tek. Inform., vol. 9, no. 5, pp. 9077–9082, 2025, doi: 10.36040/jati.v9i5.15261.

Downloads

Published

2026-06-26

How to Cite

Mislianingsih, Y., Harahap, N. S., Abdillah, R., & Candra, R. M. (2026). Multi-Label Text Classification in the Translated Hadith of Bukhari Using A Backpropagation Neural Network. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(3), 1360-1372. https://doi.org/10.57152/malcom.v6i3.2865