Code Monkey home page Code Monkey logo

churnprediction's Introduction

Telecom Customer Potential Churn Prediction

Author: Kewen Chen

App Introduction

This Shiny app was created to help telecom companies to predict which current existing customers have the potential of churning by using detailed account information of those customers. Through predicting the potential churn, the telecom company may be able to act in advance to try to keep those customers by providing some attractive service promotions or some sort of discounts, this is indeed necessary and essential for business growth in this much competitive and aggressive market.

The predicton model was trained on the dataset provided by http://www.sgi.com/tech/mlc/db/, all the data are based on claims similar to real world. The accuracy rate of the model prediction is 95.7%, 95% CI from 94.8% to 96.8%, and sensitivity is 99.5%, based on 1667 lines of real testing data also provided by the same site, so the model did a really nice job.

Run the App

The App on the site is ready to use, the snapshot shown is how the App looks like. The left side panel is for users to input the customer account and usage information, through this information the App can predict whether or not the customers have the potential to churn.

Users have two options to input the account information:

  1. Upload .csv file: Comes with this App there is an example file named exampleAccounts.csv which could be used as a templet to make your customer account usage file, also the examples in that file could be used to test if the App works;

  2. Manually enter the account information: Under the uploading section sits the manually input section which could be used to manually add account information one by one to do the prediction job, fill in the fields as the page instructed, hit the button "Submit" each time you finished entering one account.

Explanation of each account field is shown at the bottom.

To predict the churn accounts

Button Predict: After either uploading account file or manually entering the data, the accounts information will be displayed right away on the right main panel of the page, by clicking on button "Predict", the App will spit out a list of potentially churn accounts which will be right under the full account list.

Button Download: This button is a handy feature which is used to download the predicted churn list to your local drived to be saved as a .csv file.

Account field explanation:

  • phone.number: 10 digits customer phone number.
  • account.length: Days since the account activated.
  • international.plan: yes/no.
  • voice.mail.plan: yes/no.
  • number.vmail.messages: Total number of voice mail messages in this account.
  • total.day.minutes: Accumulated total call minutes during daytime.
  • total.day.calls: Accumulated total number of calls during daytime.
  • total.day.charge: Total charged amount for calls during daytime.
  • total.eve.minutes: Accumulated total call minutes during evening.
  • total.eve.calls: Accumulated total number of calls during evening.
  • total.eve.charge: Total charged amount for calls during evening.
  • total.night.minutes: Accumulated total call minutes during night.
  • total.night.calls: Accumulated total number of calls during night.
  • total.night.charge: Total charged amount for calls during night.
  • total.intl.minutes: Total international call minutes.
  • total.intl.calls: Total number of international calls.
  • total.intl.charge: Total charged amount for international calls.
  • number.customer.service.calls: Total number of customer service calls.

churnprediction's People

Contributors

michaelchen1004 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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