eugeneks / demo-churn-pred

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Churn Prediction Demo

Quickstart

Deployment
$ git clone https://github.com/yhat/demo-churn-pred/
$ cd model
$ python churn_model.py
App
$ cd demo-churn-pred
$ export YHAT_USERNAME=foo
$ export YHAT_APIKEY=abcd1234
$ node app.js

Model

To deploy the model on ScienceOps, clone this repo (git clone https://github.com/yhat/demo-churn-pred), or download the churn.csv and chrun_model.py files.

Put them in the same folder and run python churn_model.py. You'll be prompted for your ScienceOps username and apikey. If you don't already have credentials, you can get them here: https://yhathq.com/signup.

About


Languages

Language:CSS 89.1%Language:HTML 7.3%Language:JavaScript 2.4%Language:Python 1.3%