Code Monkey home page Code Monkey logo

customer-churn's Introduction

Customer Churn

This project involves analysing churn dataset to identify customers who will potentially churn. We will begin by performing EDA on the dataset. Then, we will train different models on it and perform hyperparameter tuning, before concluding our findings.

Summary

  • Obtained dataset from kaggle.
  • Performed EDA & identified several features potentially leading to churn.
  • Trained different models using regularised logistic regression, svm, and xgboost.
  • Achieved 91% recall in identifying customers who churned.

Quick Links:

Alternatively, these files are also available to view/ download in the repo.

Results

Some snapshots from the project can be found below: res1

res2

Conclusion

The problem analysed here was to identify customers with higher churn probabilities. After preprocessing and undersampling our data, we looked at 3 different models, the logistic regression, linear svm, and xgb classifier. Opting to use recall as our metric, the xgb model eventually performed best, achieving a recall of 0.91. This implies that out of all customers that are expected to churn, we can identify approximately 91% of them. This will truly come helpful to a company looking to launch a marketing campaign to retain its customers.

customer-churn's People

Contributors

gianatmaja 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.