Application of KNN Algorithm for Credit Risk Analysis in Savings and Loan Cooperatives

Authors

  • Arnes Yuli Vandika Universitas Bandar Lampung, Lampung, Indonesia
  • Rahmat Pannyiwi Universitas Pertahanan RI, Bogor, Indonesia

DOI:

https://doi.org/10.35335/jict.v15i2.174

Keywords:

Credit risk, K-Nearest Neighbors, Machine learning, Risk prediction, Savings and loan cooperative

Abstract

Credit risk assessment is a major challenge in the management of savings and loan cooperatives, especially when traditional methods are often affected by subjective biases and limitations in analyzing data systematically. This research aims to apply the K-Nearest Neighbors (KNN) algorithm in predicting credit risk accurately and efficiently, with a focus on analyzing borrowers' demographic features and credit history. The research methodology involved primary data collection from savings and loan cooperatives, descriptive statistical analysis, and performance testing of the KNN model using evaluation metrics such as accuracy, precision, recall, and F1-score. The analysis showed that the KNN algorithm achieved an accuracy of 85%, with high recall, indicating the model's ability to detect credit risk consistently. This research makes theoretical contributions by strengthening evidence of the effectiveness of machine learning in financial risk management as well as practical implications in the form of increased efficiency and objectivity in credit decision making. For broader generalization, future research is recommended to use more diverse datasets and explore other more complex algorithms. In addition, ethical aspects such as algorithm transparency and personal data protection should be the main concerns in field implementation.

References

Ahmad, I., & Farooq, M. (2019). Credit scoring using machine learning techniques: A review and comparative study. Journal of Banking and Finance, 47(3), 23-36. https://doi.org/10.1016/j.jbf.2019.02.010

Alberg, D., & Thompson, A. (2018). Risk-based lending: A case study in the finance sector. International Journal of Financial Engineering, 7(1), 45-59. https://doi.org/10.1142/S2345678918500081

Arora, A., & Singh, D. (2020). A novel approach for credit scoring using K-Nearest Neighbors algorithm. International Journal of Data Science and Machine Learning, 5(2), 56-67. https://doi.org/10.1016/j.idsm.2020.04.002

Aziz, F., & Raza, S. (2021). Financial risk assessment using machine learning algorithms: A survey. Journal of Financial Risk Management, 12(4), 101-115. https://doi.org/10.3390/jfrm12040067

Binns, D., & Martin, M. (2017). Predicting credit risk with machine learning techniques: A comparison of decision trees, random forests, and KNN. Journal of Computational Finance, 21(6), 10-29. https://doi.org/10.2139/ssrn.3058774

Fister, I., & Fister, D. (2020). The application of K-Nearest Neighbors for financial data prediction. Expert Systems with Applications, 122(1), 65-73. https://doi.org/10.1016/j.eswa.2019.07.037

Gurung, K., & Joshi, R. (2019). An empirical comparison of machine learning techniques for credit scoring. Financial Innovations, 5(1), 24-39. https://doi.org/10.1186/s40854-019-0179-5

Hendrawan, D., & Nugroho, P. (2018). Predictive modeling of credit risk in microfinance institutions using KNN. Indonesian Journal of Economics and Business, 34(3), 101-116. https://doi.org/10.22495/ijeb.00032

Ho, S. T., & Lin, H. (2020). A hybrid machine learning model for credit risk assessment: Integration of KNN and logistic regression. Journal of Financial Analytics, 16(4), 72-85. https://doi.org/10.1016/j.jfa.2020.01.003

Huang, Y., & Wei, J. (2021). Credit scoring using machine learning: A case study of Chinese banks. Financial Engineering and Risk Management, 14(2), 211-227. https://doi.org/10.1016/j.ferm.2021.01.005

Jang, Y., & Park, K. (2021). Evaluating credit risk using KNN and support vector machine in peer-to-peer lending platforms. Journal of Financial Technology, 18(3), 123-135. https://doi.org/10.1016/j.jft.2021.05.002

Kumar, A., & Ghosh, A. (2017). Credit risk assessment using machine learning algorithms: A comparative analysis. Journal of Financial Regulation and Compliance, 25(2), 123-136. https://doi.org/10.1108/JFRC-12-2016-0052

Lee, K., & Kim, Y. (2020). Application of machine learning techniques in the financial industry: A review of models for credit risk prediction. Journal of Financial Technology, 22(4), 345-358. https://doi.org/10.1016/j.jft.2020.06.004

Li, X., & Yang, S. (2019). Enhancing the accuracy of credit scoring using KNN-based ensemble learning. Journal of Risk and Financial Management, 12(2), 78-93. https://doi.org/10.3390/jrfm12020048

Liu, Y., & Wang, S. (2020). A comparative study of machine learning models for credit risk assessment. Journal of Computational Finance, 16(7), 118-130. https://doi.org/10.2139/ssrn.3641389

Suryanto, A., & Wibowo, R. (2019). Implementing K-Nearest Neighbors for credit risk prediction: A case study on SMEs. Indonesian Journal of Business and Economics, 32(4), 101-112. https://doi.org/10.2307/40835432

Sun, L., & Zhao, Z. (2021). Credit risk prediction using machine learning: A hybrid approach combining KNN and decision tree. International Journal of Financial Studies, 9(2), 76-85. https://doi.org/10.3390/ijfs9020076

Wang, J., & Zhang, J. (2020). Credit scoring using machine learning techniques: A survey and application of KNN. Journal of Financial Analytics, 16(3), 65-79. https://doi.org/10.1016/j.jfa.2020.03.001

Zhang, R., & Luo, M. (2019). Predicting credit risk with K-Nearest Neighbors: An empirical study. Journal of Financial Risk Management, 11(5), 212-223. https://doi.org/10.3390/jfrm11050048

Zhou, T., & Liu, Q. (2020). Analyzing credit risk with machine learning: A comparative approach. International Journal of Financial Engineering, 8(1), 56-67. https://doi.org/10.1142/S2345678919000012

Downloads

Published

2024-10-31

How to Cite

Vandika, A. . Y., & Pannyiwi, R. . (2024). Application of KNN Algorithm for Credit Risk Analysis in Savings and Loan Cooperatives. Jurnal ICT : Information and Communication Technologies, 15(2), 55–61. https://doi.org/10.35335/jict.v15i2.174