Interpretation of the Logistic Regression Model Using the SHAP Method in the Classification of Zakat Recipient Eligibility in Sei Rampah Village

Anggi Soraya, Zuli Agustina Gultom

Abstract


Accurate zakat distribution requires a recipient determination process that is objective, consistent, and accountable. This study aims to build a Logistic Regression model for classifying zakat recipient eligibility in Sei Rampah Village and to interpret the prediction results using the SHAP (Shapley Additive Explanations) method. The data used in this study is secondary data of zakat recipient candidates obtained from the zakat management committee in Sei Rampah Village, consisting of 1,000 records, with variables including income, number of dependents, occupation, housing condition, and asnaf category. The research stages include data preprocessing, data structure standardization, data cleaning, categorical variable encoding, numerical feature normalization, splitting the dataset into training and testing sets with an 80:20 proportion, building the Logistic Regression model, and evaluating the model using accuracy, precision, recall, and F1-score. The evaluation results show that the model achieved 99% accuracy, 100% precision, 98.28% recall, and 99.13% F1-score.In addition to achieving excellent classification performance, this study also shows that the SHAP method is able to provide transparent interpretations of the model’s decisions, both globally and locally. In the global interpretation, the most influential features in predicting eligibility are income, number of dependents, housing condition, and occupation. In the local interpretation, SHAP is able to explain the contribution of each feature to the prediction for specific individuals. Therefore, the combination of Logistic Regression and SHAP can be used as an effective approach to support the classification of zakat recipient eligibility in an accurate, transparent, and accountable manner.


Keywords


Logistic Regression, SHAP, Classification, Zakat Recipient Eligibility, Machine Learning

Full Text:

PDF

References


Abdi, K., Warjaya, A., Muthmainnah, I., & Pahutar, P. H. (2023). Penerapan Algoritma Random Forest dalam Prediksi Kelayakan Air Minum. Jurnal Ilmu Komputer Dan Informatika (JIKI), 3(2), 81–88.

Ayatulloh, R., Noor, K., Romadloni, N. T., Ramadhani, F., Karanganyar, U. M., & Karanganyar, K. (2025). Perbandingan kinerja algoritma klasifikasi pada review pengguna aplikasi netflix. JITET (Jurnal Informatika Dan Teknik Elektro Terapan), 13(2).

Elrohi, G. I. S., Marlina, & Renny. (2022). Implementasi Cloud Computing dengan Google Colaboratory Pada Aplikasi Pengolah Data Zoom Participants. Journal Informatic Technology And Communication, 6(1), 24–30.

Faran, J., & Aldisa, R. T. (2023). Analisis Data Mining dalam Komparasi Average Linkage AHC dan K-Means Clustering untuk Dataset Facebook Live Sellers. Jurnal Media Informatika Budidarma, 7, 2041–2050. https://doi.org/10.30865/mib.v7i4.6892

Gultom, Z. A., Hazidar, A. H., & Basri, M. (2024). Factors Influencing Safety Consciousness and Violations Among Licensed Drivers. JIIP (Jurnal Ilmiah Ilmu Pendidikan), 7(April), 3727–3735.

Hadi, A. F., Zulva, A. F., Hakim, M. L., Saputra, M. D., & Sadiyah, H. (2021). Implementasi Explainable Machine Learning : Visualisasi Global Explainability and Local Interpretability pada Analisis Sentimen dengan SHAP dan LIME. Jurnal Statistika Teori Dan Aplikasi: Biomedics, Industry & Business And Social Statistics, 6274, 1–18.

Hadromi, A., Yazid, A. S., Wijaya, D. P., & Danianti, D. (2025). Sistem Pendukung Keputusan Penentuan Penerima Zakat Menggunakan Metode Analytical Hierarchy Process ( AHP ) ( Studi Kasus : Laznas Yakesma DIY ). Jurnal Profesi Insinyur Universitas Lampung (JPI), 6(2).

Innassuraiya, S., Widiharih, T., & Utami, I. T. (2022). Analisis Klasifikasi Menggunakan Metode Regresi Logistik Biner dan Bootsrap Aggregating Classification and Regression Trees (Bagging Cart) (Studi Kasus: Nasabah Koperasi Simpan Pinjam dan Pembiayaan Syarish (KSPPS). Jurnal Gaussian, 11, 183–194.

Khairunnisa, A. (2023). Perbandingan model random forest dan xgboost untuk prediksi kejahatan kesusilaan di provinsi jawa barat. JIKO (Jurnal Informatika Dan Komputer), 7(2), 202–208.

Kristayana, M., Azzahra, M. P., Trimono, & Idhom, M. (2025). Klasifikasi Status Rujukan Pasien Poliklinik Bandara Berbasis Random Forest dan Interpretabilitas Model Menggunakan SHAP. Data Science Indonesia, 5(1), 60–74.

Melani, J., Harsyiah, L., & Baskara, Z. W. (2024). Klasifikasi penerima bantuan iuran jaminan kesehatan di ntb menggunakan regresi logistik biner dan naïve bayes. Jurnal GAUSSIAN, 13(40), 490–498. https://doi.org/10.14710/j.gauss.13.2.490-498

Nabilawati, Y., Kalipaksi, R. A., & Saputra, Alvito Gabbriel Saputra, Muhammad Dzacky, Alif Rifa’i, Anindita Septriani, N. P. (2025). Perbandingan Metode KNN dan Naive Bayes untuk Klasifikasi Kelulusan Mahasiswa Pada Mata Kuliah Probstat. Jurnal PTI (Jurnal Pendidikan Teknologi Informasi), 12, 7–13. https://doi.org/10.35134/jpti.v12i1.228

Okta Felani, R. (2024). Sistem Pendukung Keputusan Pendistribusian Zakat Menggunakan Metode Simple Multi Attribute Rating Technique (Smart) Zakat Distribution Decision Support System Using the Simple Multi Attribute Rating Technique (Smart). Journal of Information Technology and Computer Science (INTECOMS), 7(1), 1–8.

Rafiq, A., Santoso, B., & Kacung, S. (2024). Implementation of AHP and SMART Methods for Productive Zakat Recipient Candidate Decisions Implementasi Metode AHP dan SMART untuk Penentuan Keputusan Calon Penerima Zakat Produktif. Journal Homepage, 4(July), 1087–1095.

Rizki, F., & Samsudin. (2024). Sistem Pendukung Keputusan Pendistribusian Zakat Menggunakan Metode Simple Multi Attribute Rating Technique (SMART) dan Simple Additive Weighting (SAW). Jurnal Informasi Dan Sistem Informasi, 16(1), 1–20.

Salim, D., Wu, B., Salim, O. R., & Gunadi, R. B. (2022). Penggunaan Python Untuk Menganalisis Pola Penyebaran Covid-19 Di Masa Pandemi. Jurnal of Student Development Information System (JoSDIS), 2, 120–133.

Salsabila, N., & Feli Ramury. (2024). Implementasi Data Mining dengan Algoritma Naïve Bayes untuk Klasifikasi Kelayakan Penerima Bantuan Zakat Fitrah. Diophantine Journal of Mathematics and Its Applications, 03(01), 40–51. https://doi.org/10.33369/diophantine.v3i1.28374

Utami, B., Sunarko, A., & Wati, I. (2024). Peran Zakat dalam Pengentasan Kemiskinan : Perspektif Hukum Ekonomi Islam. Journal of Syariah Economic and Halal Tourism, 3(2), 73–78.

Yoga Religia, Agung Nugroho, W. H. (2021). Analisis Perbandingan Algoritma Optimasi pada Random Forest untuk Klasifikasi Data Bank Marketing. Jurnal Resti (Rekayasa Siste, Dan Teknologi Informasi), 1(10), 187–192.




DOI: https://doi.org/10.5281/zenodo.20487107

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Anggi Soraya, Zuli Agustina Gultom

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 


Socius: Jurnal Penelitian Ilmu-Ilmu Sosial

ISSN : 3025-6704