The Application of KNN in Bank Marketing


  • Enrui Zhang



Bank; Telemarketing; KNN; Machine Learning.


The research on machine leaning method for bank marketing has become a widely discussed topic. To obtain precise performances for bank marketing, KNN algorithm is utilized in this paper to forecast the success rate of telemarketing that focuses on whether a prospect will agree to a term deposit if a phone call is placed. The comparison experiments with three other machine learning models (Decision Tree, Random Forrest, and Naive Bayes) by using real data from a Portuguese banking institution revealed that KNN achieved the highest Accuracy (89.45 percent) and Precision (61.76 percent), thus proving the effectiveness of KNN. The proposed prediction method can also be adapted to operate within many other situations, creating a template when faced with the issue of direct marketing such as the increasing of the efficiency and profitability of telemarketing.


Download data is not yet available.


Pradap R, Kamaludeen P. Machine learning models for bank telemarketing classification and prediction. The International Journal of Analytical and Experimental Modal Analysis, 2019, 6(8): 962-967.

Moro S, Cortez P, Rita P. A data-driven approach to predict the success of bank telemarketing. Elsevier, 2014, 62: 22-31.

Moro S, Cortez P, Rita P. Using data mining for bank direct marketing: an application of the CRISP-DM methodology. Proceedings of the European Simulation and Modelling Conference, 2011.

Guliyev H, Tatoğlu F. Customer churn analysis in banking sector: evidence from explainable machine learning models. Journal of Applied Microeconometrics, 2021, 1(2): 85-99.

King R S. Cluster analysis and data Mining: an introduction. Mercury Learning and Information, 2015.

Mukid M A, Widiharih T, Rusgiyono A, Prahutama A. Credit scoring analysis using weighted k nearest neighbor. Journal of Physics, 2018

Raschka S. Machine learning lecture notes. University of Wisconsin-Madison, 2018.

Nikhitha M, Jabbar M A. K nearest neighbor based model for intrusion detection system. International Journal of Recent Technology and Engineering, 2019, 8(2): 2258-2262.

Bordoloi M, Biswas S K. Machine learning based sentiment analysis using graph based approach. Institute of Electrical and Electronics Engineers, 2019.

Short R, Fukunaga K. The optimal distance measure for nearest neighbor classification. Institute of Electrical and Electronics Engineers, 1981, 27(5): 622-627.

Zhang Zhongheng. Introduction to machine learning: k-nearest neighbors. Annals of Translational Medicine, 2016, 4(11): 218.

Mahdiani M R, Khamehchi E, Hajirezaie S, Hemmati-Sarapardeh A. Modeling viscosity of crude oil using k-nearest neighbor algorithm. Advances in Geo-Energy Research, 2020, 4(4): 435-447.




How to Cite

Zhang, E. (2023). The Application of KNN in Bank Marketing. BCP Business & Management, 36, 285–290.