GithubHelp home page GithubHelp logo

mmejdoubi / sample-churn-predictor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from turi-code/sample-churn-predictor

0.0 1.0 0.0 407 KB

Sample for building a churn prediction model with GraphLab Create

Jupyter Notebook 84.02% Python 15.98%

sample-churn-predictor's Introduction

Churn Predictor Sample Project

This is a Turi sample for churn prediction. Explore the gallery to see other examples.

This sample code shows how to build, evaluate, and deploy a model to predict customer churn. You could use this model to find customers who are likely to stop using your product or service.

Get started

  1. Before you begin, make sure you have installed GraphLab Create 1.9, a Python package for machine learning.

  2. Download and extract the example code to a directory on your machine, or clone it with the following command:

    git clone http://github.com/turi-code/sample-churn-predictor
    cd sample-churn-predictor
  3. While in the sample-churn-predictor directory, run the following script to download the sample project data:

python download_data.py
  1. Making sure you are working in a Python environment with GraphLab Create installed, run the churn_predictor.py script to build and explore the model on your machine:

    python -i churn_predictor.py

    The -i flag causes Python to drop into an interactive interpreter after the script executes.

    Once the model has been created, a browser window should open to let you explore and interact with your model.

    Alternatively, you can also run the provided IPython Notebook:

    ipython notebook churn_predictor.ipynb

Troubleshooting

If you are having trouble, please create a Github Issue or start a discussion on the user forum.

sample-churn-predictor's People

Contributors

michaelbrooks avatar biancamo avatar timmuss avatar

Watchers

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