Skip to content

ahmrz/customer-attrition-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Interactive Dashboard for Predicting Bank Customer Attrition

This dash application allows you to predict customer churn using machine learning algorithms (Random Forest and SVM). Developed with Python using scikit-learn, dash and plotly libraries. You can:

  • Predict customer churn
  • Review data analysis

Abstract

Customer attrition rate is a significant concern for commercial banks. In this era of increased competition, banks have to compete fiercely to retain existing customers, particularly high-grade customers. Commercial banks have a clear motivation to predict customer attrition and by taking appropriate actions beforehand, they can not only significantly increase profits, but also, enhance their core competitiveness. This paper presents six machine learning algorithms, Logistic Regression, Support Vector Machine, Decision Tree, Random Forest, Gradient Boosting Classifier and K-Nearest Neighbor, which are trained using two different publicly available datasets to predict bank customer attrition rates. The results of the algorithms are measured using four metrics: Accuracy, Precision, Recall, and F-Measure. In addition, a dashboard is designed that can provide exploratory analysis of current customers and also provides their loyalty status prediction using the mentioned machine learning algorithms. Results show that Gradient Boosting Classifier and Random Forest algorithms performed the best, reaching an average accuracy of about 87% and 97%, respectively for both datasets.

The complete paper can be viewed at https://doi.org/10.1109/ETCEA57049.2022.10009818.

Dataset:

Installation and Usage:

  1. Install all dependencies listed in requirements.txt - all packages are pip-installable.
  2. Run app.py to launch a local Dash server to host the Dash app. A link will appear in your console; click this to use the Dash app.

Citing the paper

BibTeX:

@inproceedings{dalbah2022interactive,
  title={An interactive dashboard for predicting bank customer attrition},
  author={Dalbah, Lamees Mohammad and Ali, Sharaz and Al-Naymat, Ghazi},
  booktitle={2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA)},
  pages={1--6},
  year={2022},
  organization={IEEE}
}
Type Citation
MLA Dalbah, Lamees Mohammad, Sharaz Ali, and Ghazi Al-Naymat. "An interactive dashboard for predicting bank customer attrition." 2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA). IEEE, 2022.
APA Dalbah, L. M., Ali, S., & Al-Naymat, G. (2022, November). An interactive dashboard for predicting bank customer attrition. In 2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA) (pp. 1-6). IEEE.
Chicago Dalbah, Lamees Mohammad, Sharaz Ali, and Ghazi Al-Naymat. "An interactive dashboard for predicting bank customer attrition." In 2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA), pp. 1-6. IEEE, 2022.
Harvard Dalbah, L.M., Ali, S. and Al-Naymat, G., 2022, November. An interactive dashboard for predicting bank customer attrition. In 2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA) (pp. 1-6). IEEE.
Vancouver Dalbah LM, Ali S, Al-Naymat G. An interactive dashboard for predicting bank customer attrition. In2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA) 2022 Nov 23 (pp. 1-6). IEEE.