Predicting Non-Performing Loan Levels Using XGBoost and Explainable Data Mining
Keywords:
Non-Performing Loan;; Credit Risk Prediction;; XGBoost;; Explainable Data Mining;; SHAP;; Machine Learning;; Banking Analytics;
Abstract
Non-Performing Loans (NPLs) represent one of the most critical indicators in assessing the stability and financial health of banking institutions. An increasing NPL ratio may negatively affect profitability, liquidity, and overall banking performance, making accurate prediction models essential for effective credit risk management. This study proposes a predictive framework for estimating Non-Performing Loan levels using the Extreme Gradient Boosting (XGBoost) algorithm combined with Explainable Data Mining techniques. The dataset consists of historical banking and financial indicators that influence loan repayment behavior. Data preprocessing stages include data cleaning, feature selection, normalization, and handling of missing values to improve model performance. The XGBoost model was employed due to its ability to handle complex nonlinear relationships and high-dimensional data efficiently. To enhance model transparency and interpretability, Explainable Data Mining techniques based on SHapley Additive exPlanations (SHAP) were applied to identify the contribution and importance of individual features affecting NPL predictions. Experimental results demonstrate that the proposed XGBoost model achieves high predictive performance, outperforming conventional machine learning approaches in terms of accuracy, precision, recall, F1-score, and Area Under the Curve (AUC). Furthermore, the explainability analysis reveals the most influential factors contributing to NPL levels, providing valuable insights for financial institutions and policymakers in developing proactive risk mitigation strategies. The findings indicate that integrating XGBoost with Explainable Data Mining not only improves prediction accuracy but also enhances the interpretability and trustworthiness of credit risk assessment models. This approach can support data-driven decision-making processes and strengthen the sustainability of banking operations in increasingly complex financial environments.
Downloads
References
Book: Single Author
[1] Indah Purnama Sari. Algoritma dan Pemrograman. Medan: UMSU Press, 2023, pp. 290.
[2] Indah Purnama Sari. Buku Ajar Pemrograman Internet Dasar. Medan: UMSU Press, 2022, pp. 300.
[3] Indah Purnama Sari. Buku Ajar Rekayasa Perangkat Lunak. Medan: UMSU Press, 2021, pp. 228.
Book: Two or More Authors
[4] Janner Simarmata Arsan Kumala Jaya, Syarifah Fitrah Ramadhani, Niel Ananto, Abdul Karim, Betrisandi, Muhammad Ilham Alhari, Cucut Susanto, Suardinata, Indah Purnama Sari, Edson Yahuda Putra. Komputer dan Masyarakat. Medan: Yayasan Kita Menulis, 2024, pp.162.
[5] Mahdianta Pandia, Indah Purnama Sari, Alexander Wirapraja Fergie Joanda Kaunang, Syarifah Fitrah Ramadhani Stenly Richard Pungus, Sudirman, Suardinata Jimmy Herawan Moedjahedy, Elly Warni, Debby Erce Sondakh. Pengantar Bahasa Pemrograman Python. Medan : Yayasan Kita Menulis, 2024, pp.180
[6] Zelvi Gustiana Arif Dwinanto, Indah Purnama Sari, Janner Simarmata Mahdianta Pandia, Supriadi Syam, Semmy Wellem Taju Fitrah Eka Susilawati, Asmah Akhriana, Rolly Junius Lontaan Fergie Joanda Kaunang. Perkembangan Teknologi Informatika. Medan: Yayasan Kita Menulis, 2024, pp.158
[7] Adrian Michael Vincensius Purba, Rahman Pradipta, Andi Zulherry, Indah Purnama Sari, Yusron Abda’u Ansya, Mhd Basri, Ahmad Thariq, Muhammad Fadhlullah KhTQ, Rahmad Bahri, David JM Sembiring, Mangasa AS Manullang, Muhammad Abdur Rasyid Asruddin, Amrullah Amrullah, Sumarlin Sumarlin, Aulia Darnilasari. Pengetahuan Dasar Komputer, Medan: Yayasan Kita Menulis, 2026.
[8] Roberto Kaban, Andi Ikmal Rachman, Indah Purnama Sari, Andi Zulherry, Mhd Basri, Nur Fadilah, Nurul Maulidiyah, David JM Sembiring, Gelard Untirtha Pratama, Ronal Ronal, Rizki Yustisia Sari, Riah Ukur Ginting, Mardhiyatna Mardhiyatna, Ahyuna Ahyuna. Pengantar Artificial Intelligence, Machine Learning, dan Big Data, Medan: Yayasan Kita Menulis, 2026.
[9] AP Irfan, Cucut Susanto, Indah Purnama Sari, Andi Zulherry, Yusron Abda’u Ansya, Idah Kusuma Dewi, Khairul Muttaqin, Rahman Pradipta, Janner Simarmata, Ahmad Ihsan, Maisaroh Maisaroh, Bayu Waseso, Roberto Kaban, Dafrid Cahyadi Arifin, Syukriy Abdullah, Adam M Tanniewa, Muharman Lubis, Inkreswari Retno Hardini, Chicha Rizka Gunawan, Roy Mubarak. Sistem Informasi Modern Untuk Era Digital, Medan: Yayasan Kita Menulis, 2026.
[10] S Wahyuddin, Indah Purnama Sari, Samuel Hasudungan Tampubolon, Andi Zulherry, Butsiarah Butsiarah, Taufik Taufik, George Morris William Tangka, Rahmad Bahri, Mhd Basri, Raemon Syaljumairi, Robbi Rahim, Muharman Lubis, Baso Ali, Sirmayanti Sirmayanti, Janner Simarmata. Cloud Computing : Referensi Lengkap, Medan: Yayasan Kita Menulis, 2025.
Journal Article from the Internet
[11] Sari, I.P., Hariani, P.P., Al-Khowarizmi, A., Ramadhani, F., Sulaiman, O.K., Satria, A, & Manurung, A.A. (2024). CLUSTERING HIV/AIDS DISEASE USING K-MEANS CLUSTERING ALGORITHM. Proceeding International Seminar on Islamic Studies 5 (1), 1668-1676
[12] Sari, I.P., Ramadhani, F., Satria, A., & Sulaiman, O.K. Leukocoria Identification: A 5-Fold Cross Validation CNN and Adaboost Hybrid Approach. 2023 6th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), 486-491
[13] Manurung, A.A., Nasution, M.D., & Sari, I.P. (2023). Implementation of Fuzzy K-Nearest Neighbor Method in Dengue Disease Classification. 2023 11th International Conference on Cyber and IT Service Management (CITSM), 1-4
[14] Sari, I.P., Ramadhani, F., Satria, A., & Apdilah, D. (2023). Implementasi Pengolahan Citra Digital dalam Pengenalan Wajah menggunakan Algoritma PCA dan Viola Jones. Hello World Jurnal Ilmu Komputer 2 (3), 146-157
[15] Zulherry, A., Basri, M., & Yusnandar, W. (2025). Implementation of Private Cloud Infrastructure as a Service Using Proxmox VE Based on the Network Development Life Cycle (NDLC) Approach. Altafani: Jurnal Pengabdian Masyarakat, 1(1).
[16] Zulherry, A., Sari, I. P., & Basri, M. (2026). Perancangan dan Implementasi Segmentasi LAN pada Infrastruktur Jaringan Skala Menengah. Hello World Jurnal Ilmu Komputer, 4(4).
[17] Zulherry, A., Riadi, I., & Umar, R. (2026). Anomaly Detection in Cloud Device-Based Information Technology Infrastructure Using Isolation Forest Algorithm. Journal Of Informatics And Telecommunication Engineering 9 (2)
[18] Zulherry, A., & Gunawan, M. (2025). Development of an Android-Based Smart Health Monitoring Device for Heartbeat Detection. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal, 6(2), 75-79.
[19] Sari, I.P., Zulherry, A., Basri, M., & Hayani W. (2025). Pembelajaran Pemrograman berbasis Machine Learning sebagai Upaya Peningkatan Computational Thinking. Jurnal Penelitian, Pendidikan dan Pengajaran: JPPP 6 (3), 245-250
[20] Sari, I.P., Al-Khowarizmi, A, Sulaiman, O.K., & Apdilah, D. (2023). Implementation of Data Classification Using K-Means Algorithm in Clustering Stunting Cases. Journal of Computer Science, Information Technology and Telecommunication Engineering 4 (2), 402-412
[21] Sulaiman, O.K & Batubara, I.H. (2021). Implementation Data Mining For Level Analysis Traffic Violation By Algorithm Association Rule. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 128-135
[22] Sari, I.P., Batubara, I.H., & Al-Khowarizmi, A. (2021). Sensitivity Of Obtaining Errors In The Combination Of Fuzzy And Neural Networks For Conducting Student Assessment On E-Learning. International Journal of Economic, Technology and Social Sciences (Injects) 2 (1), 331-338
[23] Sari, I.P., Al-Khowarizmi, A., & Batubara, I.H. (2021). Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process. Journal of Computer Science, Information Technology and Telecommunication Engineering 2 (1), 139-144
[24] Apdilah, D., & Sari, I.P. (2021). Optimization Of The Fuzzy C-Means Cluster Center For Credit Data Grouping Using Genetic Algorithms. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 156-163
[25] Rangkuti, A.R.S., & Sari, I.P. (2026). Penggunaan Fitur Warna Cielab Dalam Segmentasi Kematangan Buah Kakao Dengan Algoritma K-Means Clustering. Hello World Jurnal Ilmu Komputer 5 (1), 36-46
[26] Bisono, A. T., & Zulherry, A. (2025). Analisis sentimen game Genshin Impact untuk mengetahui reaksi dan harapan pemain menggunakan metode Naïve Bayes. sudo Jurnal Teknik Informatika, 4(2), 183-193.
[27] Basri, M., & Zulherry, A. (2025). Analysis of the Impact of Gambling and Online Loans in the Perspective of Informatics, Islam, and Kemuhammadiyahan. Ar-Rasyid: Jurnal Pendidikan Agama Islam, 5(1), 65-73.
[28] Asadel, A., & Zulherry, A. (2025). Detecting Zero-Width Characters Obfuscated in Phishing URLs using the XGBOOST Algorithm. Hanif Journal of Information Systems 3 (1), 43-53
[29] Zulherry, A., Sari, I.P., & Basri, M. (2025). Perancangan Aplikasi Monitoring Kehadiran Pegawai Menggunakan RFID. sudo Jurnal Teknik Informatika 4 (4), 378-384
[30] Ichsan, A., Zulherry, A., Lubis, T. A., & Shahnaz, B. A. Z. (2025). Utilization of Mobile Applications to Speed Up The Search for Android-Based Index Places. IJATCoS: Indonesian Journal of Applied Technology. Computer and Science, 2(1).
[31] Sari, I.P., Sulaiman, O.K., Apdilah, D., & Simanjuntak, P. (2025). Analisis Komparatif Support Vector Machine dan Random Forest untuk Deteksi Email Phishing. Applied Information Technology and Computer Science (AICOMS) 4 (2), 18-27
[32] Ardini, R.D., & Sari, I.P. (2026). Implementasi Algoritma Support Vector Machine (SVM) Dan Logistic Regression Dalam Menganalisis Sentimen Tanggapan Masyarakat Terhadap Tiktok Shop Di Social Media. Hello World Jurnal Ilmu Komputer 5 (1), 23-35
[33] Sari, I.P., Zulherry, A., & Basri, M. (2025). Pembelajaran Pemrograman berbasis Machine Learning sebagai Upaya Peningkatan Computational Thinking. Jurnal Penelitian, Pendidikan dan Pengajaran: JPPP 6 (3), 245-250
[34] Sitompul, M.FA., & Sari, I.P. (2026). Implementasi Algoritma Dijkstra Dalam Penentuan Rute Distribusi Beras SPHP Di Perum Bulog Kanwil Sumut. Hello World Jurnal Ilmu Komputer 4 (4), 218-225
[35] Al Wahya, B.R., & Sari, I.P. (2026). Perancangan Sistem Penjadwalan Kegiatan Belajar Mahasiswa Berbasis AI Menggunakan Agoritma Genetika Di Fakultas Ilmu Komputer Dan Teknologi Informasi. Hello World Jurnal Ilmu Komputer 4 (4), 185-195
[36] Sari, I.P., Basri, M., & Syafrayani, P.R. (2025). Implementasi Sistem Aplikasi Pengolahan Teks pada Gambar Menggunakan Modifikasi Metode LSB dan ROT13. Hello World Jurnal Ilmu Komputer 4 (2), 90-97
[37] Sari, I.P., Fadlil, A., & Sutikno, T. (2025). Islamic sound recognition using MFCC and SVM: Case study on takbir and sholawat. Journal of Computer Networks, Architecture and High Performance Computing 7 (3), 825-839
[38] Safira, T.Y., & Sari, I.P. (2025). Tingkat Akurasi dalam Analisis Perbandingan Metode Oreste dengan Preference Selection Index (PSI) Menentukan Pestisida Terbaik terhadap Hama Padi Desa Kolam Kecamatan Percut Sei Tuan. Blend Sains Jurnal Teknik 3 (3), 237-245
[39] Amada, E.P., & Zulherry, A. (2025). Klasterisasi Minat Dan Bakat Siswa Menggunakan Metode X-Means Berbasis Web: Studi Kasus SMA Negeri 1 Hamparan Perak. sudo Jurnal Teknik Informatika 4 (4), 276-283.
[40] Zulherry, A., Ramadhani, F., & Satria, A. (2024). Klasifikasi Data Tracer Study Dengan Pemanfaatan Data Mining Menggunakan Algoritma Support Vector Machine dan Neural Network. Portal Riset dan Inovasi Sistem Perangkat Lunak 2 (1), 45-54
[41] Zulherry, A. (2023). Decision making for network security with simple additive weighting method. Journal of Intelligent Decision Support System (IDSS), 6(3), 155-159.
[42] Zulherry, A., Gunawan, T. S., & Wanayumini, W. (2021). Analisis Hasil Pendukung Keputusan Mendapatkan Rumah Dinas Perusahaan Menggunakan Metode Analytical Hierarchy Process (AHP) dan Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). Jurnal Media Informatika Budidarma, 5(2), 695-704.
[43] Zulherry, A., Basri, M., & Yusnandar, W. (2025). Implementation of Private Cloud Infrastructure as a Service Using Proxmox VE Based on the Network Development Life Cycle (NDLC) Approach. Altafani: Jurnal Pengabdian Masyarakat, 1(1).
[44] Dongoran, D., & Sari, I.P. (2025). Implementasi Klasifikasi Data Tracer Study Pada Universitas Muhammadiyah Sumatera Utara Dengan Pemanfaatan Data Mining Menggunakan Kombinasi Algoritma Support Vector Machine. Hello World Jurnal Ilmu Komputer 4 (1), 12-24
[45] Aqta, D.P., & Sari, I.P. (2025). Evaluasi Keefektifan Teknik Morfologi dan Histogram Citra Digital pada Minyak RON 92 di SPBU Pertamina Medan Tembung. Hello World Jurnal Ilmu Komputer 3 (4), 161-170
[46] Sari, I.P., Sulaiman, O.K., & Apdilah, D. (2025). Penerapan Sistem Pakar Diagnostik Penyakit Kelapa Sawit sebagai Solusi bagi Petani dalam Meningkatkan Produktivitas Perkebunan. CivicAction: Jurnal Pengabdian dan Inovasi Masyarakat 1 (1), 8-17
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Pastima Simanjuntak, Rika Harman

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in Hanif Journal of Information Systems agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) 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 (See The Effect of Open Access).
Similar Articles
- Sumita Wardani, Sartika Mandasari, Meisarah Riandini, Predicting Student Dropout Risk Using XGBoost and Explainable AI , Hanif Journal of Information Systems : Vol. 3 No. 2 (2026): February Edition
- nurkumalalubis, Mulkan Azhari, Machine Learning-Based Phishing Email Detection: A Comparative Study of Support Vector Machine and Random Forest , Hanif Journal of Information Systems : Vol. 3 No. 2 (2026): February Edition
- Zulkifli Hasibuan, Implementation of the Least Significant Bit (LSB) Method for Data Security in a Mandailing Language Dictionary , Hanif Journal of Information Systems : Vol. 3 No. 2 (2026): February Edition
- Yohanni Syahra, Natasya Nabaceva, Application of Data Mining to Analyze BPJS Patient Satisfaction Levels Regarding the Service Attitude of PTPN II Tanjung Selamat General Hospital Using the K-Means Clustering Algorithm , Hanif Journal of Information Systems : Vol. 3 No. 2 (2026): February Edition
- Ahmad Asadel, Andi Zulherry, Detecting Zero-Width Characters Obfuscated in Phishing URLs using the XGBOOST Algorithm , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
- Leony Ayu Diah Pasha, Zainal Azis, Predicting The Risk of Online Sales Fraud with The Naïve Bayes Approach on Facebook Social Media , Hanif Journal of Information Systems : Vol. 2 No. 2 (2025): February Edition
- Julia Namira Nasution, Zainal Azis, Comparison of Logistic Regression and K-Nearest Neighbor (KNN) Algorithms in a Heart Failure Prediction Dataset , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
- Oktaviana Nirmala Purba, Dian Novianti Sitompul, Tua Holomoan Harahap, Sri Rahmah Dewi Saragih, Rizka Fahruza Siregar, Application of Fuzzy C-Means Algorithm for Clustering Customers , Hanif Journal of Information Systems : Vol. 1 No. 1 (2023): August Edition
- Perdinal Nasution, Mulkan Azhari, Application of Data Mining to Determine the Performance of Family Planning Field Officers (PLKB) Using the C4.5 Algorithm , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
- Ilham Prastia, Mulkan Azhari, Development of Virtual Reality-Based Computer Assembly Simulation Learning Media , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
You may also start an advanced similarity search for this article.









