Giter Site home page Giter Site logo

franciscoliu / customer_churning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.66 MB

Customer attrition or “churning” (i.e., more and more customers are leaving their credit card services, such as canceling the cards) is an important problem faced by credit card companies. In this project, you are given a dataset of 10,000 customers with 18 attributes/features, such as, age, salary, marital status, credit card limit, credit card category, and so on. The goal is to build a model that can accurately predict churning customers and help understand the reason behind the scene. The 5-fold cross-validation results will be used in evaluating the performance.

Jupyter Notebook 100.00%

customer_churning's Introduction

User_Instruction

What preprocess method to use

We have two preprocessing methods. For preprocessing method #1, we replace the unknown data point with the mean value of the known data of that feature. For preprocessing method #2, we replace unknown data using IterativeImputer. The default method is method 1. However, if you want to try the second method, you can change "X = X1" to "X = X2", "y = y1" to "y = y2" and "feature_mapping1" to "feature_mapping2".

What classifier to use

We have 6 classifiers in the project. The default classifier is xgboost. If you would like to see the behavior of the other classifiers, you can uncomment the corresponding classifier in "name" and "classifiers" lists.

Note: It takes approximately 50 minutes to run all the classifiers at the same time.

customer_churning's People

Contributors

alicia-sheng avatar franciscoliu avatar guangyaodou avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.