Implementation of the Random Forest Algorithm for Loan Eligibility Prediction and Feature Analysis Based on Financial Data
DOI:
https://doi.org/10.59934/jaiea.v5i3.2317Keywords:
CIBIL Score, Data Mining, Loan Eligibility Prediction, Machine Learning, Random ForestAbstract
The advancement of information technology has led to an increasing demand for loan access, both through banking institutions and online lending platforms. However, the process of evaluating loan eligibility, which is still carried out manually or semi-manually, is prone to human error and decision-making bias, ultimately increasing the risk of loan defaults. This study aims to implement the Random Forest algorithm to predict loan eligibility based on financial data, as well as to evaluate its accuracy. The dataset used in this study is loan_approval_dataset.csv, which is downloaded from Kaggle, utilizing 11 input features. The system is developed as a web-based application using Laravel as the main frontend and backend framework, while Flask is used as a backend API for executing the machine learning processes. The testing results show that the Random Forest model achieves an accuracy of 98.44%, with a precision of 98.14%, recall of 99.37%, and an F1-score of 98.75%. Furthermore, the cibil score feature is identified as the most influential factor in the prediction process, contributing 80.65% to the model's outcome. These findings indicate that the Random Forest algorithm is highly effective for use in a loan eligibility prediction system, as it provides fast, objective, and highly accurate results.
Downloads
References
D. Anugrah, T. Tendiyanto, and S. Akhmaddhian, “Sosialisasi Bahaya Produk Pinjaman Online Ilegal bagi Masyarakat,” Empowerment, vol. 4, no. 03, pp. 293–297, 2021, doi: 10.25134/empowerment.v4i03.5093.
P. Permatasari, “Force Majeure Clausules Due To Covid-19 in Bank Credit Agreements,” Iblam Law Rev., vol. 1, no. 1, pp. 163–183, 2021, doi: 10.52249/ilr.v1i01.8.
K. Kholidiah and T. Inayati, “Bijak Dalam Pengambilan Keputusan Pinjaman Online (Pinjol),” JMM - J. Masy. Merdeka, vol. 7, no. 1, p. 56, 2024, doi: 10.51213/jmm.v7i1.150.
F. Diba, M. S. Lydia, and P. Sihombing, “Analisis Random Forest Menggunakan Principal Component Analysis Pada Data Berdimensi Tinggi,” Indones. J. Comput. Sci., vol. 12, no. 4, pp. 2152–2160, 2023, doi: 10.33022/ijcs.v12i4.3329.
M. N. Raza, “Sistem Deteksi Berita Hoax Menggunakan Algoritma Naïve Bayes Dan Random Forest Pada Machine Learning,” Pondasi J. Appl. Sci. Eng., vol. 1, no. 2, pp. 43–57, 2024, [Online]. Available: https://journal.alshobar.or.id/index.php/pondasi/article/view/221
W. Djuarni, “IMPLEMENTASI PRINSIP 5C DALAM MENENTUKAN KELAYAKAN PEMBERIAN KREDIT PADA NASABAH Wenny Djuarni 1 ,” Keuang. dan Perbank., vol. 02, no. 02, pp. 108–109, 2022.
K. D. Sartika and D. Larasati, “Literature Review: Dampak Fenomena Pinjaman Online Ilegal di Indonesia,” Innov. J. Soc. Sci. Res., vol. 3, no. 6, pp. 2940–2948, 2023, [Online]. Available: https://j-innovative.org/index.php/Innovative/article/view/6517
A. F. Azmi and A. Voutama, “Prediksi Churn Nasabah Bank Menggunakan Klasifikasi Random Forest Dan Decision Tree Dengan Evaluasi Confusion Matrix,” Komputa J. Ilm. Komput. dan Inform., vol. 13, no. 1, pp. 111–119, 2024, doi: 10.34010/komputa.v13i1.12639.
Fadellia Azzahra, N. Suarna, and Y. Arie Wijaya, “Penerapan Algoritma Random Forest Dan Cross Validation Untuk Prediksi Data Stunting,” Kopertip J. Ilm. Manaj. Inform. dan Komput., vol. 8, no. 1, pp. 1–6, 2024, doi: 10.32485/kopertip.v8i1.238.
D.- Husen, D.- Sandi, S.- Bumbungan, K.- -, and K.- -, “Analisis Prediksi Kebakaran Hutan dengan Menggunakan Algoritma Random Forest Classifier,” Nuansa Inform., vol. 16, no. 1, pp. 150–155, 2022, doi: 10.25134/nuansa.v16i1.5392.
N. Maulidah, M. Maulidah, R. Supriyadi, H. Nalatissifa, S. Diantika, and A. Fauzi, “Prediksi_Kualitas_Air_Menggunakan_Metode_Random_Fo,” J. Khatulistiwa Inform., vol. 12, no. 1, pp. 1–6, 2024.
S. P. Tamba and E. -, “Prediksi Penyakit Gagal Jantung Dengan Menggunakan Random Forest,” J. Sist. Inf. dan Ilmu Komput. Prima(JUSIKOM PRIMA), vol. 5, no. 2, pp. 176–181, 2022, doi: 10.34012/jurnalsisteminformasidanilmukomputer.v5i2.2445.
A. Sharma, “Loan_Approval_Dataset,” 2023. Accessed: Jul. 10, 2025. [Online]. Available: https://www.kaggle.com/datasets/architsharma01/loan-approval-prediction-dataset/data
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








