Giter VIP home page Giter VIP logo

ansel2000 / customer-churn-prediction Goto Github PK

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

Semster 6 Mini Project. This project aims to analyze the dataset provided containing customer data with known churn value and design a model that finds the patterns in the data using which it is able to predict the churn value for customers whose churn value is not known. This project includes an application of the predicted churn value where proactive action is take if the customer is going to churn.

Jupyter Notebook 97.95% Python 0.79% SCSS 0.14% HTML 1.12%

customer-churn-prediction's Introduction

Customer Churn to facilitate market using Django and CNN

Please go through entire readme for complete project specifications

Semster 6 Mini Project. This project aims to analyze the dataset provided containing customer data with known churn value and design a model that finds the patterns in the data using which it is able to predict the churn value for customers whose churn value is not known. This project includes an application of the predicted churn value where proactive action is take if the customer is going to churn.

This project covers the following topics

  • Data Preprocessing
    • OneHotEncoding
    • Data Scaling
    • Outlier Analysis
  • Machine Learning
    • Training
    • Validation
  • Web apps using Django

Resources:

Technologies used

  • Frontend - HTML, CSS, JS
  • Frameworks - Django
  • Machine Learning Algorithms
    • Linear Discriminant Analysis
    • Decision Tree
    • Random Forest
    • XGBoost
    • Making a Pipeline
    • CNN
    • Package managers - pip

Dependencies

Get started

  • Install dependencies - pip install -r requirements.txt

Dataset

Dataset Used

  • Description
    • The data set belongs to a leading online E-Commerce company. An online retail (E commerce) company wants to know the customers who are going to churn, so accordingly they can approach customer to offer some promos.

Note:

The dataset file, trained model weights and the pipeline that does data preprocessing.

The Mini_Proj.ipynb file contains all the code used in cleaning the data and model validation.

To-do

  • - Data Cleaning and Pre-processing
    • - Handle missing values (replacing with median value)
    • - Categorical and Numeric Data Identification
    • - Plotting Data Feartures (For Understanding)
    • - One Hot Encoding (Nominal to Numeric conversion)
    • - Data Scaling
    • - Analysing the Churn by each Variable - Visualising via Graphs
  • - Model Training - Repeated for different Algorithms
    • - Train Model based on processed Data
    • - Model Validation on Test Data
    • - Model Score (Precision, recall f1-score, support)
    • - Confusion Matrix
    • - Model Comparison
  • - Exporting Model
    • - Exporting Model Weights
    • - Creating Data Pipeline
  • - Web Applicaion
    • - Creating an Ecommerce Website Frontend
    • - Loading trained model weights and Pipeline
    • - Creating Database containing customer churn with unknown churn.
    • - Prediction of Churn and Coupon Display on Homepage

customer-churn-prediction's People

Contributors

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