Skip to content

jihadakbr/bank-customer-churn-prediction-using-artificial-neural-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bank Customer Churn Prediction Using Artificial Neural Networks (ANN)

Bank customer churn prediction using neural networks is a valuable business project because it helps banks identify customers who are at risk of leaving and take proactive measures to retain them. By analyzing customer data and predicting churn, banks can gain insights into why customers leave and what factors influence their decision to stay or go. This information can be used to improve customer experience, tailor marketing and promotional activities, and develop strategies to increase customer loyalty. Ultimately, reducing churn can have a significant positive impact on a bank's bottom line, as it is typically more cost-effective to retain existing customers than to acquire new ones.

Dataset Source

Bank Customer Churn Modelling (Kaggle)

Content of Dataset

  1. RowNumber: the index of the row in the data
  2. CustomerId: unique customer identifier
  3. Surname: surname
  4. CreditScore: credit rating
  5. Geography: country of residence
  6. Gender: gender
  7. Age: age
  8. Tenure: how many years a person has been a client of the bank
  9. Balance: account balance
  10. NumOfProducts: the number of bank products used by the client
  11. HasCrCard: availability of a credit card
  12. IsActiveMember: client activity
  13. EstimatedSalary: estimated salary
  14. Exited: the fact of the client's departure (target variable)
  • Exited = 1
  • Not Exited = 0

Tools

Jupyter notebook:

  • Data exploring and cleansing
  • Data visualization
  • Looking for the best accuracy deep learning model using artificial neural networks (ANN)
  • Create a graphical user interface (GUI) using Tkinter

Spyder:

  • Create python functions for data visualization
  • Create a web application using flask and deploy it to replit.com

Results

Link to the web application:

Accuracy and Lost of Bank Customer Churn Prediction

GUI For Bank Customer Churn Prediction

GUI For Bank Customer Churn Prediction 2

Bank Customer Churn Prediction

Bank Customer Churn Prediction 2

Conclusions

  • The datasets contain no missing values and duplicates. Moreover, several outliers have been filtered
  • The neural network model achieved an accuracy of 87.0% in correctly classifying the testing data for the bank customer churn prediction project
  • This accuracy is achieved by these configurations: 1 input with 11 neurons, 1 hidden layer and dropout with 6 neurons, and 1 output with 1 neuron
  • A graphical user interface (GUI) has been created using Tkinter
  • Deployment of a web application using Flask on replit.com has been successful

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages