Main Article Content

Abstract

Customer churn remains a critical strategic challenge for banking institutions operating in increasingly competitive digital markets. This study constructs and evaluates a Decision Tree classifier based on the Classification and Regression Trees (CART) algorithm to predict customer churn using a publicly available dataset of 10,000 banking customers distributed across three countries. A scikit-learn Pipeline integrating OneHotEncoder preprocessing and a CART-based classifier with Gini impurity criterion and constrained depth (max_depth = 5) was trained, evaluated, and critically interpreted. The model achieved near-perfect test-set performance, with accuracy of 99.85%, precision of 99.75%, recall of 99.51%, F1-score of 99.63%, and ROC-AUC of 99.75%, with a train-test performance gap below 0.2% across all metrics. Feature importance analysis, however, revealed that the Complain variable alone accounted for 99.80% of the model's Gini importance, indicating potential data leakage between the predictor and target variables. This finding constitutes the primary methodological contribution of the study: high classification performance is a necessary but insufficient criterion for validating a model's operational suitability, and feature importance auditing must be a mandatory component of any production-bound machine learning pipeline. Beyond the technical dimension, the study derives actionable managerial implications for banking customer retention, positioning real-time complaint monitoring as the most operationally significant early warning mechanism for churn risk.

Keywords

bank customer churn CART algorithm customer retention data leakage decision tree machine learning

Article Details

How to Cite
Muhammad Ramdan Alqadri, Ahmad Syarif Hidayatullah, Rizal Bakri, & Muh. Qardawi Hamzah. (2026). Decision Tree-Based Customer Churn Prediction in Banking: Predictive Performance, Data Leakage Detection, and Managerial Implications. Online Journal of Management, Innovation, Economics, and Digital Studies, 1(1), 1–15. Retrieved from https://onmind.bisdig.feb.unm.ac.id/article/view/636

References

  1. Bakri, R., Alam, S., Astuti, N. P., & Bakhtiar, M. I. (2025). Optimizing machine learning models for graduation on time prediction: A comparative study with resampling and hyperparameter tuning. Jurnal Online Informatika, 10(2), 270-285. https://doi.org/10.15575/join.v10i2.1590
  2. Breiman, L., Friedman, J., Olshen, R., & Stone, C. (1984). Classification and regression trees. Wadsworth International Group.
  3. Charbuty, B., & Abdulazeez, A. (2021). Classification based on decision tree algorithm for machine learning. Journal of Applied Science and Technology Trends, 2(01), 20-28. https://doi.org/10.38094/jastt20165
  4. Coussement, K., & Van den Poel, D. (2008). Churn prediction in subscription services: An application of support vector machines while comparing two parameter-selection techniques. Expert Systems with Applications, 34(1), 313-327. https://doi.org/10.1016/j.eswa.2006.09.038
  5. Daniya, T., Gajula, M., & Kumar, K. R. (2020). Classification and regression trees with Gini index. Advances in Mathematics: Scientific Journal, 9(10), 8237-8247. https://doi.org/10.37418/amsj.9.10.53
  6. Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861-874. https://doi.org/10.1016/j.patrec.2005.10.010
  7. Han, S. (2024). Machine learning based customer churn prediction in banking sector. Highlights in Business, Economics and Management, 24, 795-803. https://doi.org/10.54097/5d49fm22
  8. Hosmer, D. W., & Lemeshow, S. (2000). Applied logistic regression (2nd ed.). John Wiley and Sons. https://doi.org/10.1002/0471722146
  9. Kumar, V., & Reinartz, W. (2018). Customer relationship management: Concept, strategy, and tools (3rd ed.). Springer. https://doi.org/10.1007/978-3-662-55381-7
  10. Mienye, I. D., & Sun, Y. (2019). Prediction performance of improved decision tree-based algorithms: A review. Procedia Manufacturing, 35, 689-694. https://doi.org/10.1016/j.promfg.2019.06.011
  11. Mienye, I. D., & Sun, Y. (2024). A survey of decision trees: Concepts, algorithms, and applications. IEEE Access, 12, 86716-86727. https://doi.org/10.1109/ACCESS.2024.3416838
  12. Mitchell, T. M. (1997). Machine learning. McGraw-Hill.
  13. Muneer, A., Taib, S. M., Ali, R. F., Balogun, A. O., & Bajeh, A. O. (2022). Predicting customers churning in banking industry: A machine learning approach. Indonesian Journal of Electrical Engineering and Computer Science, 26(3), 1684-1693. https://doi.org/10.11591/ijeecs.v26.i3.pp1684-1693
  14. Murindanyi, S., Nahabwe, P., Mugume, I., & Mwebaze, E. (2023). Interpretable machine learning for predicting customer churn in retail banking. 2023 7th International Conference on Trends in Electronics and Informatics (ICOEI), 1-7. https://doi.org/10.1109/ICOEI56765.2023.10125865
  15. Ngo, V., Nguyen, H., Nguyen, T., & Le, T. (2024). Multi-level machine learning model to improve the effectiveness of predicting customers churn banks. Cybernetics and Information Technologies, 24(3), 95-109. https://doi.org/10.2478/cait-2024-0027
  16. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V.,
  17. Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825-2830.
  18. Rahman, M., Kumar, V., Hossain, S. A., & Talha, M. (2020). Machine learning based customer churn prediction in banking. 2020 4th International Conference on Electronics, Communication and Aerospace Technology (ICECA), 1196-1201. https://doi.org/10.1109/ICECA49313.2020.9297529
  19. Reichheld, F. F., & Sasser, W. E. (1990). Zero defections: Quality comes to services. Harvard Business Review, 68(5), 105-111.
  20. Verbeke, W., Dejaeger, K., Martens, D., Hur, J., & Baesens, B. (2011). New insights into churn prediction in the telecommunication sector: A profit driven data mining approach. European Journal of Operational Research, 218(1), 211-229. https://doi.org/10.1016/j.ejor.2011.09.031
  21. Zhao, L., Chen, Z., Hu, Y., & Qin, X. (2021). Decision tree application to classification problems with boosting algorithm. Electronics, 10(16), 1903. https://doi.org/10.3390/electronics10161903