Application of the K-Nearest Neighbor Algorithm to Predict Term Deposit Subscriptions by Bank Customers

Penulis

  • Rado Manurung HKBP Nommensen University

DOI:

https://doi.org/10.59934/jiibd.v2i1.3133

Kata Kunci:

Bank Marketing; Classification; K-Nearest Neighbor; Machine Learning; Term Deposit Prediction.

Abstrak

Term deposit marketing is one of the strategies used by banks to increase long-term customer investments. However, identifying customers who are likely to subscribe to term deposits remains a significant challenge due to the large volume of customer data and diverse customer characteristics. This study aims to implement the K-Nearest Neighbor (K-NN) algorithm to predict customers' decisions regarding term deposit subscriptions using the Bank Marketing Dataset. The research methodology includes data preprocessing, Min-Max normalization, dataset partitioning into training and testing sets, and model evaluation using 10-fold cross-validation. Several values of k and two distance metrics, namely Euclidean and Manhattan distances, were evaluated to determine the optimal classification performance. The experimental results indicate that the K-NN algorithm with k = 5 using the Manhattan distance metric achieved the highest classification accuracy of 73.39%, outperforming other parameter configurations. These findings demonstrate that the K-NN algorithm is effective for predicting customers' term deposit subscription decisions and can assist banks in improving the efficiency and effectiveness of marketing campaigns by identifying potential customers more accurately.

Unduhan

Data unduhan belum tersedia.

Referensi

S. Moro, P. Cortez, and P. Rita, “A data-driven approach to predict the success of bank telemarketing,” Decis. Support Syst., vol. 62, pp. 22–31, 2014, doi: 10.1016/j.dss.2014.03.001.

P. Ładyżyński, K. Żbikowski, and P. Gawrysiak, “Direct marketing campaigns in retail banking with the use of deep learning and random forests,” Expert Syst. Appl., vol. 134, pp. 28–35, 2019, doi: 10.1016/j.eswa.2019.05.020.

Y. Feng, Y. Yin, D. Wang, and L. Dhamotharan, “A dynamic ensemble selection method for bank telemarketing sales prediction,” J. Bus. Res., vol. 139, pp. 368–382, 2022, doi: 10.1016/j.jbusres.2021.09.067.

C. Xie, J.-L. Zhang, Y. Zhu, B. Xiong, and G.-J. Wang, “How to improve the success of bank telemarketing? Prediction and interpretability analysis based on machine learning,” Comput. Ind. Eng., vol. 175, p. 108874, 2023, doi: 10.1016/j.cie.2022.108874.

S. C. K. Tékouabou, Ş. C. Gherghina, H. Toulni, P. Neves Mata, and M. N. Mata, “A machine learning framework towards bank telemarketing prediction,” Journal of Risk and Financial Management, vol. 15, no. 6, p. 269, 2022, doi: 10.3390/jrfm15060269.

A. N. Puteri, Arizal, and A. D. Achmad, “Feature selection correlation-based pada prediksi nasabah bank telemarketing untuk deposito,” MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 20, no. 2, pp. 335–342, 2021, doi: 10.30812/matrik.v20i2.1183.

P. Subarkah, E. P. Pambudi, and S. O. N. Hidayah, “Perbandingan metode klasifikasi data mining untuk nasabah bank telemarketing,” MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 20, no. 1, pp. 139–148, 2020, doi: 10.30812/matrik.v20i1.826.

A. Ambarwari, Q. J. Adrian, and Y. Herdiyeni, “Analysis of the effect of data scaling on the performance of the machine learning algorithm for plant identification,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 4, no. 1, pp. 117–122, 2020, doi: 10.29207/resti.v4i1.1517.

M. M. Ahsan, M. A. P. Mahmud, P. K. Saha, K. D. Gupta, and Z. Siddique, “Effect of data scaling methods on machine learning algorithms and model performance,” Technologies (Basel)., vol. 9, no. 3, p. 52, 2021, doi: 10.3390/technologies9030052.

D. A. Nasution, H. H. Khotimah, and N. Chamidah, “Perbandingan normalisasi data untuk klasifikasi wine menggunakan algoritma K-NN,” Computer Engineering, Science and System Journal, vol. 4, no. 1, pp. 78–82, 2019, doi: 10.24114/cess.v4i1.11458.

P. T. Noi and M. Kappas, “Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery,” Sensors, vol. 18, no. 1, p. 18, 2018, doi: 10.3390/s18010018.

R. K. Halder, M. N. Uddin, M. A. Uddin, S. Aryal, and A. Khraisat, “Enhancing K-nearest neighbor algorithm: a comprehensive review and performance analysis of modifications,” J. Big Data, vol. 11, p. 113, 2024, doi: 10.1186/s40537-024-00973-y.

S. Salsabila, S. Martha, and W. Andani, “Komparasi algoritma K-Nearest Neighbor dengan Euclidean distance dan Manhattan distance untuk klasifikasi stunting balita (Studi kasus: Puskesmas Kelurahan Parit Mayor),” Bimaster: Buletin Ilmiah Matematika, Statistika dan Terapannya, vol. 13, no. 2, 2024, doi: 10.26418/bbimst.v13i2.77245.

D. Chicco and G. Jurman, “The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation,” BMC Genomics, vol. 21, p. 6, 2020, doi: 10.1186/s12864-019-6413-7.

B. Krawczyk, “Learning from imbalanced data: open challenges and future directions,” Progress in Artificial Intelligence, vol. 5, no. 4, pp. 221–232, 2016, doi: 10.1007/s13748-016-0094-0.

Diterbitkan

2026-11-15

Cara Mengutip

Manurung, R. (2026). Application of the K-Nearest Neighbor Algorithm to Predict Term Deposit Subscriptions by Bank Customers. Jurnal Inovasi Informatika Dan Bisnis Digital (JIIBD), 2(1), 53–59. https://doi.org/10.59934/jiibd.v2i1.3133

Terbitan

Bagian

Articles