Research Article

Loan Forecasting Based on Machine Learning and Variable Correlation Analysis

Bohao Cui*
DUT School of Software Technology & DUT-RU International school of information Science and Engineering

* Corresponding author: [email protected]

Abstract

With the economic development and social progress, loan has become one of the most common business of all kinds of modern banks. In order to reduce the risk of loan, it is particularly important to put forward an effective method to forecast loan. Therefore, this paper proposes a loan forecasting method based on Xgboost and feature importance evaluation. Specifically, after cleaning the original data set, we evaluate the classification effect of several different machine learning algorithm models and find that the Xgboost effect performs best. In addition, in order to enlighten the bank staff, in addition to predicting the results, we also use SHAP and feature importance method to carry out importance analysis on the relevant feature variables, and explain the influence of each feature on the model output. The results show that the principal paid by the borrower, the amount of financing and the amount of recovery after the borrower defaults are the main factors affecting the default risk. The results and methods of this study can provide important references for financial institutions in the process of loan approval, and help to improve the effectiveness and accuracy of risk management.

Keywords: Machine learning; Loan forecasting; Xgboost
Published: December 12, 2024
DOI: 10.54254/2755-2721/2024.18131
Volume: ACE Vol.107
pp. 127-138
Download PDF

References

  1. Naseer S, Khalid S, Parveen S, et al. COVID-19 outbreak: Impact on global economy[J]. Frontiers in public health, 2023, 10: 1009393.
  2. Rekunenko I, Zhuravka F, Nebaba N, et al. Assessment and forecasting of Ukraine’s financial security: Choice of alternatives[J]. 2023.
  3. Dansana D, Patro S G K, Mishra B K, et al. Analyzing the impact of loan features on bank loan prediction using R andom F orest algorithm[J]. Engineering Reports, 2024, 6(2): e12707.
  4. Rana M, Bhushan M. Machine learning and deep learning approach for medical image analysis: diagnosis to detection[J]. Multimedia Tools and Applications, 2023, 82(17): 26731-26769.
  5. Lee D H, Chen K L, Liou K H, et al. Deep learning and control algorithms of direct perception for autonomous driving[J]. Applied Intelligence, 2021, 51(1): 237-247.
  6. Sujatha C N, Gudipalli A, Pushyami B, et al. Loan prediction using machine learning and its deployement on web application[C]//2021 Innovations in Power and Advanced Computing Technologies (i-PACT). IEEE, 2021: 1-7.
  7. West D. Neural network credit scoring models[J]. Computers & operations research, 2000, 27(11-12): 1131-1152.
  8. Kumari K, Jayarathna H. Predicting Income and Feasible Loan Amount for a Household Unit (Expenditure Analysis of Badulla District, Sri Lanka)[J]. 2019.
  9. Khilfah H N L, Faturohman T. Social media data to determine loan default predicting method in an Islamic online P2P lending[J]. Journal of Islamic Monetary Economics and Finance, 2020, 6(2): 243-274.
  10. Manglani R, Bokhare A. Logistic regression model for loan prediction: A machine learning approach[C]//2021 Emerging Trends in Industry 4.0 (ETI 4.0). IEEE, 202:1-6.
  11. Madaan M, Kumar A, Keshri C, et al. Loan default prediction using decision trees and random forest: A comparative study[C]//IOP conference series: materials science and engineering. IOP Publishing, 2021, 1022(1): 012042.
  12. Zhu Q, Ding W, Xiang M, et al. Loan default prediction based on convolutional neural network and LightGBM[J]. International Journal of Data Warehousing and Mining (IJDWM), 2023, 19(1): 1-16.
  13. Zhu M, Zhang Y, Gong Y, et al. Ensemble methodology: Innovations in credit default prediction using lightgbm, xgboost, and localensemble[J]. arXiv preprint arXiv:2402.17979, 2024.
  14. Anh N T T, Hanh P T M, Le Thu V T. Default in the US peer-to-peer market with covid-19 pandemic update: An empirical analysis from lending club platform[J]. International Journal of Entrepreneurship, 2021, 25(7): 1-19.
  15. Murimi L N, Siebert M, Salira G, et al. A Loan Application Management System for Efficient Loan Processing: A Case of Muhimbili SACCOS LTD[C]//International Conference on Technological Advancement in Embedded and Mobile Systems. Cham: Springer Nature Switzerland, 2022: 129-141.
  16. Chakraborty S, Tomsett R, Raghavendra R, et al. Interpretability of deep learning models: A survey of results[C]//2017 IEEE smartworld, ubiquitous intelligence & computing, advanced & trusted computed, scalable computing & communications, cloud & big data computing, Internet of people and smart city innovation (smartworld/SCALCOM/UIC/ATC/CBDcom/IOP/SCI). IEEE, 2017: 1-6.
  17. Garnica-Caparros M, Memmert D. Understanding gender differences in professional European football through machine learning interpretability and match actions data[J]. Scientific reports, 2021, 11(1): 10805.
  18. Garreau D, Luxburg U. Explaining the explainer: A first theoretical analysis of LIME[C]//International conference on artificial intelligence and statistics. PMLR, 2020: 1287-1296.
  19. Gramegna A, Giudici P. SHAP and LIME: an evaluation of discriminative power in credit risk[J]. Frontiers in Artificial Intelligence, 2021, 4: 752558.
  20. Chen T, Guestrin C. Xgboost: A scalable tree boosting system[C]//Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining. 2016: 785-794.
  21. Lundberg S M, Lee S I. A unified approach to interpreting model predictions[J]. Advances in neural information processing systems, 2017, 30.
  22. Jabeur S B, Mefteh-Wali S, Viviani J L. Forecasting gold price with the XGBoost algorithm and SHAP interaction values[J]. Annals of Operations Research, 2024, 334(1): 679-699.