Giter Site home page Giter Site logo

dfarone02 / fight-churn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carl24k/fight-churn

0.0 0.0 0.0 4.97 MB

Code from the book Fighting Churn With Data

License: MIT License

Shell 4.82% Python 93.99% Makefile 0.17% Jupyter Notebook 1.02%

fight-churn's Introduction

fight-churn

This is code for the book "Fighting Churn With Data: Science and strategy for keeping your customers"; the book serves as a detailed guide to the code. You can get more information at:

This page contains the most up to date setup instructions.

Note from the Author

Before you can load data or run the code you have to do some setup on your system. If you never have done this before it may seem like a lot of work, and it kind of is, but this amount of setup is routine when you begin to work with a new technology. These setup instructions should work for most people using either shell Python, Jupyter Notebook, or an IDE, on either Mac or Windows. That said, I must apologize because I am neither an expert in PostgreSQL nor an expert in Python, but I am about to give a lot of advice on how to setup and use these technologies - if you find I am not doing things the best way, or just not how you would have done it, please be patient. If you want to make things better please help help out! :)

Setup Instructions

WARNING TO PYPI USERS: None of the internal links in this document work on the pypi.org website! To use the internal links in this README view it on github.

Pre-Requisite Setup

Python and PostgreSQL are required.

Code Setup

After the pre-requesisites, you have a choice on how to run the Fighting Churn With Data Code:

  • Command Line Setup : The fastest and easiest way to get started, using a pip Python package installation. This is great if you want to run the code and see the output, but you do not want to change the code or run it line by line.
  • Jupyter Notebook Setup : This is another way to get started quickly, if you already have Jupyter Notebooks installed.
  • Developers IDE Setup : This method takes more time, but allows you to run the code line by line in a debugger, or change it. (If you are a professional developer planning to really use the code for your company, this is for you.)

Errata for the 1st Printing

This version of the README if for the the code released with the fightchurn pip package in September 2021. In this version there have been some modifications to the paths described in the first printing of Fighting Churn With Data to enable packaging the Python code. The following two differences summarize the changes:

  • To run the code listings, the first printing of the book refers to the script fight-churn/listings/py/run_churn_list.py : the path in the current code is fight-churn/fightchurn/run_churn_listing.py
  • To generate the data, the first printing of the book refers to scripts under fight-churn/data-generation/ : the path in the current code is fight-churn/fightchurn/datagen

Complete details of the errata are described here.

Extras

There is also some extra code from the development phase of the book, which are partially documented on this page.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

fight-churn's People

Contributors

carlgzuora avatar carl24k avatar dependabot[bot] avatar karthiks avatar elmalakomar avatar yogeshkaw 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.