GithubHelp home page GithubHelp logo

dion11235 / telco-churn-prediction Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 74.62 MB

This is a churn classification project on a fictitious company Telco.

Python 5.37% Jupyter Notebook 94.61% Shell 0.01%

telco-churn-prediction's Introduction

Telco-Churn-Prediction

This is a churn classification project on a fictitious company Telco prepared by IBM. Dataset link : https://www.kaggle.com/datasets/blastchar/telco-customer-churn/data

In this repository I have tried to build a well structured ML project, maintaining the directory hirarchy as well as model tracking for different experiments. At the end the model is deployed in Streamlit. You can try it out here: Live demo link

A quick sneak peek to the app : app sneak peek

How to reproduce the results ?

  • step 1 : open a terminal in your local project directory.
  • step 2 : run git clone https://github.com/Dion11235/Telco-Churn-Prediction/
  • step 3 : run conda create -p churnenv python=3.9 to create the environment
  • step 4 : run cd Telco-Churn-Prediction to move into the cloned directory.
  • step 5 : run pip install -r requirements.txt to install all the dependencies.
  • step 6 : run python src/pipeline/train_pipeline.py to run the experiments. Dont forget to delete the folder mlflow_experiments_log before running this, otherwise there will be duplicate experiments.
  • step 7 : run mlflow ui --backend-store-uri=mlflow_experiments_log to check out the awesome mlflow dashboard!

Results :

Achieved F1 score 0.865 and AUC : 0.86, ROC curves for different experiments look like this - ROC Curves for different experiments

If you like the work, give a star ๐ŸŒŸ. Thanks in advance! ๐Ÿ˜„

telco-churn-prediction's People

Contributors

dion11235 avatar

Stargazers

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