Analisis Efektivitas IndoBERT untuk Klasifikasi Multilabel Terjemahan Hadis Bukhari Menggunakan Logistic Regression


Authors

  • Achmad Yamin Harahap Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Nazruddin Safaat H Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Surya Agustian Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Suwanto Sanjaya Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Teddie D Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i4.1219

Keywords:

Bukhari Hadith; Clasification; IndoBERT; Multilabel; Logistic Regression

Abstract

Hadith serves as the second source of guidance after the Quran, directing Muslims in various aspects of life; the *Sahih al-Bukhari* collection is among the most renowned. The complex nature of their meanings often encompassing multiple categories of messages poses a significant challenge for manual text classification, particularly as data volume grows. In this study, the content of the hadith often includes multiple message types, such as recommendations, prohibitions, and general information. This research aims to evaluate an automated classification system for Indonesian translations of *Sahih al-Bukhari* hadith, categorizing them into three classes: Information, Recommendation, and Prohibition. The study is motivated by the vast number of hadith, which requires significant time and deep understanding for people to grasp the core message of each one. This classification system is intended to facilitate the identification of primary messages, thereby making the processes of searching, studying, and understanding hadith more effective and efficient. IndoBERT is employed to generate contextual vector representations capable of capturing deeper semantic meaning, while Logistic Regression is selected for its efficiency and stability with high-dimensional data. Evaluation is conducted using a train-validation-test split approach, alongside accuracy and macro F1-score metrics. The study achieved an average F1-score of 67.43%, demonstrating that the combination of IndoBERT and Logistic Regression yields strong, consistent classification performance for this multi-label task.

Downloads

Download data is not yet available.

References

M. A. H. Muhammad, M. I. Afkarina, S. S. Shalsabila, and S. Fikri, “Hadist Ditinjau Dari Kualitas Sanad Dan Matan (Hadist Shohih, Hasan, Dhoif),” Jurnal Kajian Islam dan Sosial Keagamaan, vol. 1, no. 4, pp. 396–401, 2024, [Online]. Available: https://jurnal.ittc.web.id/index.php/jkis/article/view/1103

R. S. Mutaqin, Z. Nurpadilah, and H. Z. Muttaqin, “Perawi Mudallis dalam Shahih Bukhari: Studi al-Jarh wa al-Ta’dil pada ’Umar bin ’Ali bin ‘Atha’ bin Muqaddam,” Riwayah: Jurnal Studi Hadis, vol. 7, no. 2, pp. 241–272, Dec. 2022, doi: 10.21043/riwayah.v7i2.10651.

Y. Sagama and A. Alamsyah, “Multi-label classification of Indonesian online toxicity using BERT and RoBERTa,” in 2023 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), 2023, pp. 143–149.

A. Ramadhani, N. S. Harahap, S. Agustian, I. Iskandar, and S. Sanjaya, “Perbandingan Performa Metode Klasifikasi Teks Multi-Label Terjemahan Hadis Bukhari Menggunakan Metode Support Vector Machine Dan Long Short Term Memory,” MALCOM, 2024, 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, 2024, doi: 10.57152/malcom.v5i3.2046.

G. A. Ghifari, “Klasifikasi Multi Label Terjemahan Hadits Sahih Bukhari Menggunakan Metode Logistic Regression,” Politeknik Negeri Jember, 2025.

R. Kustiawan, A. Adiwijaya, and M. D. Purbolaksono, “A Multi-label Classification on Topic of Hadith Verses in Indonesian Translation using CART and Bagging,” Jurnal Media Informatika Budidarma, vol. 6, no. 2, pp. 868–876, 2022, doi: 10.30865/mib.v6i2.3787.

D. Držík and L. Kelebercová, “Back-translation effects on static and contextual word embeddings for topic classification embedding in classification tasks,” PLoS One, vol. 20, no. 8, p. e0330622, 2025.

S. Ningsih, N. H. Safaat, S. Agustian, Yusra, and E. P. Cynthia, “Pengaruh Penyeimbangan Data Pada Klasifikasi Terjemahan Al-Quran Dengan Metode Naïve Bayes dan Long Short Term Memory,” Journal of Computer System and Informatics (JoSYC), vol. 5, no. 3, pp. 626–635, 2024, doi: 10.47065/josyc.v5i3.5181.

S. Kobayashi, “Contextual Augmentation: Data Augmentation by Words with Paradigmatic Relations,” CoRR, vol. abs/1805.06201, 2021, [Online]. Available: http://arxiv.org/abs/1805.06201

F. Taufiqurrahman, S. Al Faraby, and M. D. Purbolaksono, “Klasifikasi teks multi label pada hadis terjemahan bahasa indonesia menggunakan chi-square dan svm,” eProceedings of Engineering, vol. 8, no. 5, 2021, [Online]. Available: https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/article/view/15671/15384

Y. Santoso and S. Candra, “Comparative Sentiment Analysis of App Reviews Using TF-IDF and IndoBERT as Feature Extraction with SVM,” in 2025 5th International Conference on Intelligent Cybernetics Technology & Applications (ICICyTA), 2025, pp. 13–18. DOI:10.1109/ICICyTA68677.2025.11362384.

Y. Asri, D. Kuswardani, W. N. Suliyanti, Y. O. Manullang, and A. R. Ansyari, “Sentiment analysis based on Indonesian language lexicon and IndoBERT on user reviews PLN mobile application,” Indonesian Journal of Electrical Engineering and Computer Science, 2025, [Online]. Available: https://api.semanticscholar.org/CorpusID:275923734

E. Issa and A. A. Ibrahim, “Integrating BERT for Nuanced Sentiment Analysis: A Detailed Examination of Diverse Textual Datasets,” IEEE Access, vol. 12, pp. 186296–186312, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:274823691

Z. F. Ramadhan and A. B. Mutiara, “Sentiment Analysis of Honkai: Star Rail Indonesian Language Reviews on Google Play Store Using Bidirectional Encoder Representations from Transformers Method,” International Journal of Engineering, Science and Information Technology, 2023, [Online]. Available: https://api.semanticscholar.org/CorpusID:262177905

D. Dey et al., “The proper application of logistic regression model in complex survey data: a systematic review,” BMC Med. Res. Methodol., vol. 25, 2025, [Online]. Available: https://api.semanticscholar.org/CorpusID:275816747

S. Guan, “Clasification Medical Claim Denial Using Logistic Regression and Decision Tree Algorithm,” 2024 3rd International Conference on Health Big Data and Intelligent Healthcare (ICHIH), pp. 7–10, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:279987477

A. Ramzan, R. H. Ali, N. Ali, and A. Khan, “Enhancing Fake News Detection Using BERT: A Comparative Analysis of Logistic Regression, RFC, LSTM and BERT,” 2024 International Conference on IT and Industrial Technologies (ICIT), pp. 1–6, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:276118442

K. Josephine et al., “Comprehensive review of logistic regression techniques in predicting health outcomes and trends,” World Journal of Advanced Pharmaceutical and Life Sciences, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:274507228

Y. Miyazaki et al., “Logistic regression analysis and machine learning for predicting post-stroke gait independence: a retrospective study,” Sci. Rep., vol. 14, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:272594675

H. Wu, B. Liao, T. Ji, K. Ma, Y. Luo, and S. Zhang, “Comparison between traditional logistic regression and machine learning for predicting mortality in adult sepsis patients,” Front. Med. (Lausanne)., vol. 11, 2025, [Online]. Available: https://api.semanticscholar.org/CorpusID:275377173

S. Guan, “Clasification Medical Claim Denial Using Logistic Regression and Decision Tree Algorithm,” 2024 3rd International Conference on Health Big Data and Intelligent Healthcare (ICHIH), pp. 7–10, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:279987477

H. Fauzan, A. Adiwijaya, and S. Al-Faraby, “Pengklasifikasian Topik Hadits Terjemahan Bahasa Indonesia Menggunakan Latent Semantic Indexing dan Support Vector Machine,” Jurnal Media Informatika Budidarma, vol. 2, no. 4, p. 131, 2022.

S. Diantika, H. Nalatissifa, N. Maulidah, R. Supriyadi, and A. Fauzi, “Penerapan Teknik Random Oversampling Untuk Memprediksi Ketepatan Waktu Lulus Menggunakan Algoritma Random Forest,” Computer Science (CO-SCIENCE, vol. 4, no. 1, pp. 11–18, 2024, doi: 10.31294/coscience.v4i1.1996.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Efektivitas IndoBERT untuk Klasifikasi Multilabel Terjemahan Hadis Bukhari Menggunakan Logistic Regression

Dimensions Badge

ARTICLE HISTORY

Published: 2026-06-30

Abstract View: 0 times
PDF Download: 0 times

How to Cite

Harahap, A. Y., H, N. S., Agustian, S., Sanjaya, S., & D, T. (2026). Analisis Efektivitas IndoBERT untuk Klasifikasi Multilabel Terjemahan Hadis Bukhari Menggunakan Logistic Regression. Bulletin of Computer Science Research, 6(4), 1666-1674. https://doi.org/10.47065/bulletincsr.v6i4.1219

Issue

Section

Articles

Most read articles by the same author(s)