Klasifikasi Multi-Label Hadis Terjemahan Shahih Bukhari Berdasarkan Kategori Anjuran, Larangan, dan Informasi Menggunakan Metode Extreme Gradient Boosting (XGBoost)
Abstract
Hadith is one of the sources of Islamic teachings that contains meanings such as recommendations, prohibitions, and
information. The large number of hadiths makes manual classifications time consuming, therefore an automatic classification method
is needed. This study aims to perform multi-label classifications on translated Shahih Bukhari hadiths using the XGBoost method with
the Binary Relevence approach and hyperparameter tuning using GridSearchCV. the result showed that the implementation of
hyperparameter tuning improved model performance, especially in recall and F1-score values. In addition, the hamming loss value
decraesed from 9.19% to 9.10%, indicating that hyperparameter tuning was able to reduce prediction errors in the model.
Downloads
References
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, 2025, doi: 10.57152/malcom.v5i3.2046.
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, 2022, doi: 10.30865/mib.v6i2.3787.
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: Performance Comparison of Multilabel Text Classification Methods on Translated Hadiths of Bukhari Using Suppor,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 3 SE-, pp. 896–907, 2025, [Online]. Available: https://www.journal.irpi.or.id/index.php/malcom/article/view/2051
A. Pebdika, R. Herdiana, and D. Solihudin, “Klasifikasi Menggunakan Metode Naive Bayes Untuk Menentukan Calon Penerima Pip,” JATI (Jurnal Mhs. Tek. Inform., vol. 7, no. 1, pp. 452–458, 2023, doi: 10.36040/jati.v7i1.6303.
S. E. Herni Yulianti, Oni Soesanto, and Yuana Sukmawaty, “Penerapan Metode Extreme Gradient Boosting (XGBOOST) pada Klasifikasi Nasabah Kartu Kredit,” J. Math. Theory Appl., vol. 4, no. 1, pp. 21–26, 2022.
O. Opitasari, F. Natsir, and E. S. Marsiani, “Klasifikasi Diagnosis untuk Penyakit Kanker Serviks Menggunakan Algoritma Extreme Gradient Boosting (XGBoost),” J. Ilm. FIFO, vol. 16, no. 1, p. 55, 2024, doi: 10.22441/fifo.2024.v16i1.006.
L. G. A. Putri, S. A. Wicaksono, and B. Rahayudi, “Analisis Klasifikasi Spam Email Menggunakan Metode Extreme Gradient Boosting (XGBoost ),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 2, pp. 1–8, 2025.
I. Putu, A. Purnama Widiarta, R. Dwiyansaputra, and A. Aranta, “Analisis Sentimen Masyarakat Terhadap Kebijakan Penarapan PPKM Di Media Sosial Twitter Dengan Menggunakan Metode XGBOOST (Analysis Of Community Sentiment On The Policy Of Implementation Of PPKM On Twitter Social Media Using Xgboost Method),” J. Teknol. Informasi, Komput. dan Apl., vol. 5, no. 2, pp. 154–163, 2023, [Online]. Available: http://jtika.if.unram.ac.id/index.php/JTIKA/
I. R. Hendrawan, “Perbandingan Algoritma Naive Bayes, SVM Dan XGBOOST Dalam Klasifikasi Teks Sentimen Masyarakat Terhadap Produk Lokal Di Indonesia,” J. Transform., vol. 18, no. 1, pp. 1–8, 2022.
Felix Fernando, “Klasifikasi Tweet Cyberbullying Dengan Menggunakan Algoritma Svm Dan Xgboost,” J. Ilmu Komput. dan Sist. Inf., vol. 13, no. 1, 2025, doi: 10.24912/jiksi.v13i1.32857.
E. S. Rusdi et al., “Comparison of Ann , Random Forest , and Xgboost in Antibiotic,” vol. 12, no. 4, 2025, [Online]. Available: https://jtiik.ub.ac.id/index.php/jtiik/article/view/9487
N. S. Putri, P. P. Adikara, and T. N. Fatyanosa, “Klasifikasi Emosi Multi Label Di Teks Bahasa Inggris Menggunakan Metode Naïve Bayes Dan Fitur Term Frequency,” vol. 10, no. 1, pp. 1–9, 2026.
E. Applications, “Implementation of TF-IDF and XGBoost Algorithms in Scientific Paper Classification,” vol. 5, no. 1, pp. 1–5, 2025.
M. Noorunnahar, A. H. Chowdhury, and F. A. Mila, “A tree based eXtreme Gradient Boosting (XGBoost) machine learning model to forecast the annual rice production in Bangladesh,” PLoS One, vol. 18, no. 3 March, pp. 1–15, 2023, doi: 10.1371/journal.pone.0283452.
M. R. Kurniawanda and F. A. T. Tobing, “Analysis Sentiment Cyberbullying In Instagram Comments with XGBoost Method,” IJNMT (International J. New Media Technol., vol. 9, no. 1, pp. 28–34, 2022, doi: 10.31937/ijnmt.v9i1.2670.
E. B. Gulcan, I. S. Ecevit, and F. Can, “Binary Transformation Method for Multi-Label Stream Classification,” Int. Conf. Inf. Knowl. Manag. Proc., no. 3, pp. 3968–3972, 2022, doi: 10.1145/3511808.3557553.
W. Nugraha and A. Sasongko, “Hyperparameter Tuning on Classification Algorithm with Grid Search,” Sistemasi, vol. 11, no. 2, p. 391, 2022, doi: 10.32520/stmsi.v11i2.1750.
I. Muhamad Malik Matin, “Hyperparameter Tuning Menggunakan GridsearchCV pada Random Forest untuk Deteksi Malware,” Multinetics, vol. 9, no. 1, pp. 43–50, 2023, doi: 10.32722/multinetics.v9i1.5578.
A. F. D. Putra, M. N. Azmi, H. Wijayanto, S. Utama, and I. G. P. W. Wedashwara Wirawan, “Optimizing Rain Prediction Model Using Random Forest and Grid Search Cross-Validation for Agriculture Sector,” MATRIK J. Manajemen, Tek. Inform. dan Rekayasa Komput., vol. 23, no. 3, pp. 519–530, 2024, doi: 10.30812/matrik.v23i3.3891.
S. Wijaya and S. Aisa, “Model Klasifikasi Kenaikan Pangkat Pegawai Negeri Sipil Menggunakan,” vol. 5, no. 1, pp. 1–9, 2025, doi: 10.47065/bulletinds.v5i1.9644.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Klasifikasi Multi-Label Hadis Terjemahan Shahih Bukhari Berdasarkan Kategori Anjuran, Larangan, dan Informasi Menggunakan Metode Extreme Gradient Boosting (XGBoost)
Pages: 170-178
Copyright (c) 2026 Tasya Dwi Yanti, Fitra Kurnia, Nazruddin Safaat Harahap, Iwan Iskandar, Reski Mai Candra

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).


