Coder Social home page Coder Social logo

yukoga / btyd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coltallen/btyd

0.0 1.0 0.0 7.33 MB

Buy Till You Die and Customer Lifetime Value statistical models in Python.

Home Page: https://btyd.readthedocs.io/

License: Apache License 2.0

Python 99.94% Makefile 0.06%

btyd's Introduction

BTYD

Actively Maintained PyPI version GitHub license

READ FIRST: Project Status

Development has transitioned to a new project repo: pymc-marketing.

Introduction

BTYD is the successor to the Lifetimes library for implementing Buy Till You Die and Customer Lifetime Value statistical models in Python. All existing Lifetimes functionality is supported, and Bayesian PyMC model variants are also supported.

BTYD can be used to analyze your users based on the following assumptions:

  1. Users interact with you when they are active, or "alive"
  2. Users under study may "die" or become inactive after some period of time

If this is too abstract, consider these applications:

  • Predicting how often a visitor will return to your website. (Alive = visiting. Die = decided the website wasn't for them)
  • Understanding how frequently a patient may return to a hospital. (Alive = visiting. Die = maybe the patient moved to a new city, or became deceased.)
  • Predicting individuals who have churned from an app using only their usage history. (Alive = logins. Die = removed the app)
  • Predicting repeat purchases from a customer. (Alive = actively purchasing. Die = became disinterested with your product)
  • Predicting the lifetime value of your customers

Installation

BTYD installation requires Python 3.8 or 3.9:

pip install btyd

Contributing

Please refer to the Contributing Guide before creating any Pull Requests.

Documentation and Tutorials

User Guide

Questions? Comments? Requests?

Please create an issue in the BTYD repository.

Supported Models

Additional Information

  1. R implementation is called BTYDplus.
  2. Bruce Hardie's website, especially his notes, is full of useful and essential explanations, many of which are featured in this library.

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.