Skip to content

Detailed solution to the Ban_customer_churn_dataset from kaggle with data visualization by using Random Forest Algorithm.

Notifications You must be signed in to change notification settings

yshastri66/Bank_Customer_Churn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Bank_Customer_Churn_dataset

Probelm statement

The problem statement here is to predict whether a customer will leave the bank or retain in the bank based on the famous kaggle dataset which is bank_customer_churn_dataset.
I tried with Artificial Neural Networks , Logistic regression , K nearest neighbours algorithm and Random forest algorithm for this dataset after visualizing the dataset and performing some of the feature engineering tasks. Out of the all above models Random Forest yields 86% accuracy. Since the dataset is imbalanced, we can consider this accuracy as best only.

Dataset contains following columns :

  • CustomerId
  • Surname
  • CreditScore
  • Geography - country of customer
  • Gender
  • Age
  • Tenure - Total number of years with bank
  • Balance
  • NumOfProducts - Number of products or services utilising from bank
  • HasCrCard - Utilising credit card or not ( Card - 1 , No card - 0 )
  • IsActiveMember - Metric defining the member on the basis of his/her transactions (Active - 1 , Inactive - 0 )
  • EstimatedSalary

Based on above columns we are predicting Exited column :
Exited - Left bank or not ( left bank - 1 , retained by bank - 0 )

About

Detailed solution to the Ban_customer_churn_dataset from kaggle with data visualization by using Random Forest Algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published