Customer churn is a major challenge in the banking industry, as customers may stop using a bank’s services and move to other banks for various reasons. Identifying customers who are likely to leave is important for banks to improve customer retention and maintain long-term customer relationships. The project titled Banking Customer Churn Prediction Using Machine Learning aims to analyse customer data and predict whether a customer is likely to stay with the bank or leave. The system begins by preprocessing the dataset to prepare the data for analysis, followed by Exploratory Data Analysis (EDA) to understand customer behaviour, identify patterns, and examine the factors associated with customer churn. Customer information, such as age, credit score, account balance, tenure, number of products, geographical location, and account activity, is analysed based on the available dataset.
Machine learning classification algorithms are trained and evaluated to identify a suitable model for predicting customer churn. The selected XGBoost model is used to estimate the probability of a customer leaving the bank. A user-friendly dashboard is developed using Streamlit to present the analysis and prediction results through graphs, a correlation heatmap, customer risk distributions, geographical comparisons, and individual customer predictions. The dashboard also allows users to enter customer details and view the predicted churn probability, helping them understand whether a customer may be at risk of leaving.
The proposed system helps identify customers who may require additional attention and provides useful insights into customer behaviour. These insights can support banks in developing appropriate customer retention strategies and making informed business decisions. Thus, the project demonstrates the practical application of Machine Learning and Data Analytics in predicting banking customer churn and supporting effective customer relationship management.
Introduction
The text presents a Bank Customer Churn Prediction System using Machine Learning, designed to help banks identify customers who are likely to leave their banking services. The system analyses customer information, account details, and behavioural patterns to predict churn probability and support effective customer-retention strategies.
1. Background and Problem
Customer churn is a major challenge for banks because losing existing customers negatively affects revenue, customer relationships, and business growth.
Banks often struggle to identify customers who may leave in advance.
Manual analysis of customer records is time-consuming.
Traditional approaches may fail to identify high-risk customers early.
A machine learning-based system can analyse customer data and provide early churn predictions.
2. Objectives of the Project
The main objectives of the proposed system are:
Data Collection and Analysis: Collect and analyse customer information to understand behaviour and identify factors contributing to churn.
Data Preprocessing: Handle missing values, duplicate records, categorical variables, and inconsistent data.
Exploratory Data Analysis (EDA): Use statistical methods and visualizations to discover patterns and relationships.
Model Development and Comparison: Train multiple classification algorithms and compare their performance.
Churn Prediction Interface: Develop an application interface that predicts churn for new customer information.
Customer Retention Support: Help banks identify high-risk customers early and make better retention decisions.
3. Literature Review
The study reviews previous research on machine learning-based customer churn prediction.
Iranmanesh et al. (2019): Applied Artificial Neural Networks to identify customers likely to leave.
Peng et al. (2023): Used Decision Tree, KNN, LightGBM, and XGBoost, along with SHAP for understanding prediction factors.
Singh et al. (2024): Investigated banking customer churn prediction using machine learning and data visualization.
Owolabi et al. (2024): Compared different machine learning models for predicting customer churn in banking and financial services.
Boozary et al. (2024): Evaluated classification algorithms, including Random Forest and Support Vector Classifier.
Jin (2025): Studied Random Forest, feature selection, and techniques for handling imbalanced datasets.
Nisha T. N. and Dhanya Pramod (2025): Investigated Genetic Algorithm-based feature reduction for bank customer churn prediction.
Research findings: Previous studies demonstrate that machine learning can effectively support customer churn analysis. They also highlight the importance of preprocessing, feature selection, model comparison, and visualization.
4. Limitations of Existing Approaches
The study identifies several limitations in traditional churn prediction systems:
Some systems rely on only one machine learning algorithm.
Limited exploratory data analysis may overlook important customer behaviour patterns.
Insufficient feature engineering can affect prediction quality.
Some approaches evaluate models mainly using accuracy.
Important metrics such as precision, recall, F1-score, and ROC-AUC may be overlooked.
Conclusion
A data-driven system for identifying banking customers who are likely to leave has been developed, covering preprocessing, EDA, model development, model evaluation and customer-level prediction. Among the models compared, XGBoost provided the most suitable performance, with an accuracy of 85.75%, precision of 65.72%, recall of 62.65%, F1-score of 64.15% and ROC-AUC of 87.07%. The Streamlit interface and the risk analytics make the predictions easy to interpret and apply in retention planning.
The system can be enhanced in future by including additional banking features such as transaction frequency, customer service interactions, loan information and digital banking usage. Hyperparameter optimization, ensemble learning, explainable AI and model calibration can further improve prediction and show why a customer is at high risk. A retention recommendation module, real-time data integration, cloud deployment, prediction history storage, dashboards and periodic model retraining can transform the system into a comprehensive customer-risk monitoring platform.
References
[1] Waningsih et al., “Classification-Based Supervised Learning Algorithms for Accurate Prediction of Customer Churn in Banking,” International Journal of Applied Technology and Information Systems (IJATIS), vol. 3, no. 1, pp. 41–49, 2026.
[2] Z. Tan, “Comparative Analysis of Several Models for Churning Customer Prediction,” SHS Web of Conferences, vol. 218, Art. no. 02013, 2025.
[3] V. Gkonis and I. Tsakalos, “Deep Dive Into Churn Prediction in the Banking Sector: The Challenge of Hyperparameter Selection and Imbalanced Learning,” Journal of Forecasting, vol. 44, no. 2, pp. 281–296, 2025.
[4] R. Bhuria, S. Gupta, U. Kaur, S. Bharany, et al., “Ensemble-Based Customer Churn Prediction in Banking: A Voting Classifier Approach for Improved Client Retention Using Demographic and Behavioral Data,” Discover Sustainability, vol. 6, no. 1, Art. no. 28, 2025.
[5] H. Zhu, “Bank Customer Churn Prediction with Machine Learning Methods,” Advances in Economics, Management and Political Sciences, vol. 69, pp. 23–29, 2024.
[6] K. Peng, Y. Peng, and W. Li, “Research on Customer Churn Prediction and Model Interpretability Analysis,” PLOS ONE, vol. 18, no. 12, pp. 1–26, 2023.
[7] H. S. Hon, K. W. Khaw, X. Chew, and W. P. Wong, “Prediction of Customer Churn for ABC Multistate Bank Using Machine Learning Algorithms,” Malaysian Journal of Computing, vol. 8, no. 2, pp. 1602–1619, 2023.
[8] H. D. Tran, N. Le, and V.-H. Nguyen, “Customer Churn Prediction in the Banking Sector Using Machine Learning-Based Classification Models,” Interdisciplinary Journal of Information, Knowledge, and Management, vol. 18, pp. 87–105, 2023.
[9] A. Muneer, R. F. Ali, A. Alghamdi, S. M. Taib, A. Almaghthawi, and E. A. A. Ghaleb, “Predicting Customers Churning in Banking Industry: A Machine Learning Approach,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 26, no. 1, pp. 539–549, 2022.
[10] K. A. Amuda and A. B. Adeyemo, “Customers Churn Prediction in Financial Institution Using Artificial Neural Network,” arXiv preprint, arXiv:1912.11346, 2019.