Classification of Bank Customer Credit Worthiness using the Random Forest Algorithm Based on Transaction Data

Authors

  • Nabila Pramudita As’ari STMIK Kaputama
  • Marto Sihombing STMIK KAPUTAMA
  • Suria Alamsyah Putra STMIK KAPUTAMA

DOI:

https://doi.org/10.59934/jaiea.v6i1.2900

Keywords:

Classification; Credit Worthiness; Data Mining; Feature Importance; Random Forest

Abstract

Credit is the main product of banking intermediation, and the quality of the credit worthiness assessment determines the level of credit risk borne by the bank. In practice, the assessment is still carried out manually by credit analysts, so the results depend on individual experience, take a long time when applications increase, and are difficult to reproduce consistently. This study applies a data mining approach through the random forest algorithm to classify the credit worthiness of bank debtors based on transaction data. The data used are 348 records of Bank BRI debtor transactions with four input attributes, namely transaction amount, transaction frequency, average balance, and loan amount. Because the raw data do not yet contain a worthiness label, the class label was formed through a data transformation stage guided by the collectibility provisions, producing three classes, namely eligible, under consideration, and not eligible. The model was built from 100 decision trees with the Gini index as the splitting criterion and implemented in Python on Google Colab. Testing on 70 test data produced an accuracy of 95.71 percent with a macro precision of 0.9270, a recall of 0.9000, and an F1-score of 0.9010, supported by a five-fold cross-validation of 0.9570 and an out-of-bag score of 0.9568. The feature importance analysis shows that transaction frequency contributes 29.34 percent, followed by average balance, transaction amount, and loan amount with a narrow margin, indicating that the overall scale of account activity determines the worthiness class. These findings can be used by banks as an initial screening tool in the credit analysis process.

Downloads

Download data is not yet available.

References

Otoritas Jasa Keuangan, "Peraturan Otoritas Jasa Keuangan Nomor 40/POJK.03/2019 tentang penilaian kualitas aset bank umum," Jakarta, Indonesia, 2019.

Departemen Perizinan dan Manajemen Krisis Perbankan, "Laporan surveillance perbankan Indonesia triwulan IV 2025," Otoritas Jasa Keuangan, Jakarta, Indonesia, 2025.

M. Y. Br Surbakti, E. Nurhayati, and F. Utami, "Analisis implementasi prinsip 5C untuk meningkatkan kualitas kredit guna bhakti di BJB KCP Palima," Maeswara: Jurnal Riset Ilmu Manajemen dan Kewirausahaan, vol. 2, no. 3, pp. 146–156, 2024, doi: 10.61132/maeswara.v2i3.907.

A. Fatunnisa and H. Marcos, "Prediksi kelulusan tepat waktu siswa SMK teknik komputer menggunakan algoritma random forest," Jurnal Manajemen Informatika (JAMIKA), vol. 14, no. 1, pp. 101–111, 2024, doi: 10.34010/jamika.v14i1.12114.

N. Hazizah and A. Feranika, "Implementasi algoritma random forest dalam klasifikasi risiko gagal bayar kartu kredit pada nasabah bank," Jurnal Manajemen Teknologi dan Sistem Informasi, vol. 5, no. 1, 2025, doi: 10.33998/jms.v5i1.

O. Pahlevi and Y. Handrianto, "Implementasi algoritma klasifikasi random forest untuk penilaian kelayakan kredit," Infortech, vol. 5, no. 1, 2023.

J. Lucretia and D. Hermanto, "Prediksi kelayakan kredit nasabah dengan penerapan cost-sensitive random forest," Progresif: Jurnal Ilmiah Komputer, vol. 22, no. 1, p. 149, 2026, doi: 10.35889/progresif.v22i1.3401.

N. N. A. Nanda, Y. Farida, and W. D. Utami, "Implementation of SMOTE to improve the performance of random forest classification in credit risk assessment in banking," INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, vol. 9, no. 2, pp. 158–177, 2025, doi: 10.29407/intensif.v9i2.23930.

L. Zhu, D. Qiu, D. Ergu, C. Ying, and K. Liu, "A study on predicting loan default based on the random forest algorithm," Procedia Computer Science, vol. 162, pp. 503–513, 2021, doi: 10.1016/j.procs.2019.12.017.

M. C. Aniceto, F. Barboza, and H. Kimura, "Machine learning predictivity applied to consumer creditworthiness," Future Business Journal, vol. 6, no. 1, 2020, doi: 10.1186/s43093-020-00041-w.

U. Firdaus, A. Alfiah, and L. Mohdo, "Analisis kinerja decision tree dan random forest menggunakan dataset breast cancer," Jurnal Pendidikan Sains dan Komputer, vol. 6, no. 1, pp. 37–42, 2026, doi: 10.47709/jpsk.v6i01.7892.

R. Buaton, M. Zarlis, and V. Yasin, Konsep data mining dalam implementasi. Jakarta, Indonesia: Mitra Wacana Media, 2021.

I. H. Sarker, "Machine learning: algorithms, real-world applications and research directions," SN Computer Science, vol. 2, no. 3, 2021, doi: 10.1007/s42979-021-00592-x.

R. N. Ramadhon, A. Ogi, A. P. Agung, R. Putra, S. S. Febrihartina, and U. Firdaus, "Implementasi algoritma decision tree untuk klasifikasi pelanggan aktif atau tidak aktif pada data bank," Karimah Tauhid, vol. 3, no. 2, 2024.

B. Sartono and H. Dharmawan, Pemodelan prediktif berbasis pohon klasifikasi. Bogor, Indonesia: IPB Press, 2023.

F. Wilyani, Q. N. Arif, and F. Aslimar, "Pengenalan dasar pemrograman Python dengan Google Colaboratory," Jurnal Pelayanan dan Pengabdian Masyarakat Indonesia, vol. 3, no. 1, pp. 8–14, 2024, doi: 10.55606/jppmi.v3i1.1087.

Downloads

Published

2026-10-15

How to Cite

Nabila Pramudita As’ari, Marto Sihombing, & Suria Alamsyah Putra. (2026). Classification of Bank Customer Credit Worthiness using the Random Forest Algorithm Based on Transaction Data. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 981–987. https://doi.org/10.59934/jaiea.v6i1.2900