{"id":13710168,"url":"https://github.com/ColtAllen/btyd","last_synced_at":"2025-05-06T18:34:17.616Z","repository":{"id":36989321,"uuid":"457011033","full_name":"ColtAllen/btyd","owner":"ColtAllen","description":"Buy Till You Die and Customer Lifetime Value statistical models in Python.","archived":true,"fork":true,"pushed_at":"2024-05-14T19:57:56.000Z","size":7398,"stargazers_count":114,"open_issues_count":12,"forks_count":9,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-10-03T07:35:22.540Z","etag":null,"topics":["bayesian","buy-til-you-die","customer-lifetime-value","data-science","python"],"latest_commit_sha":null,"homepage":"https://btyd.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CamDavidsonPilon/lifetimes","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColtAllen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-08T16:22:30.000Z","updated_at":"2024-08-15T06:41:21.000Z","dependencies_parsed_at":"2023-02-17T14:45:46.590Z","dependency_job_id":null,"html_url":"https://github.com/ColtAllen/btyd","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColtAllen%2Fbtyd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColtAllen%2Fbtyd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColtAllen%2Fbtyd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColtAllen%2Fbtyd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColtAllen","download_url":"https://codeload.github.com/ColtAllen/btyd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521585,"owners_count":17325259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian","buy-til-you-die","customer-lifetime-value","data-science","python"],"created_at":"2024-08-02T23:00:52.645Z","updated_at":"2024-11-13T20:31:17.613Z","avatar_url":"https://github.com/ColtAllen.png","language":"Python","readme":"# BTYD\n\n[![Actively Maintained](https://img.shields.io/badge/Development%20Status-Transitioned%20-yellowgreen.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)\n[![PyPI version](https://badge.fury.io/py/btyd.svg)](https://badge.fury.io/py/btyd)\n[![GitHub license](https://img.shields.io/github/license/ColtAllen/btyd)](https://github.com/ColtAllen/btyd/blob/master/LICENSE.txt)\n\n\n## READ FIRST: Project Status\n\nDevelopment has transitioned to a new project repo: [pymc-marketing](https://github.com/pymc-labs/pymc-marketing).\n\n## Introduction\n\nBTYD is the successor to the [Lifetimes](https://github.com/CamDavidsonPilon/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](https://github.com/pymc-devs) model variants are also supported.\n\nBTYD can be used to analyze your users based on the following assumptions:\n\n1. Users interact with you when they are active, or \"alive\"\n2. Users under study may \"die\" or become inactive after some period of time\n\nIf this is too abstract, consider these applications:\n\n - Predicting how often a visitor will return to your website. (Alive = visiting. Die = decided the website wasn't for them)\n - Understanding how frequently a patient may return to a hospital. (Alive = visiting. Die = maybe the patient moved to a new city, or became deceased.)\n - Predicting individuals who have churned from an app using only their usage history. (Alive = logins. Die = removed the app)\n - Predicting repeat purchases from a customer. (Alive = actively purchasing. Die = became disinterested with your product)\n - Predicting the lifetime value of your customers\n\n\n## Installation\nBTYD installation requires Python 3.8 or 3.9:\n```bash\npip install btyd\n```\n\n## Contributing\n\nPlease refer to the [Contributing Guide](https://github.com/ColtAllen/btyd/blob/master/CONTRIBUTING.md) before creating any *Pull Requests*.\n\n## Documentation and Tutorials\n[User Guide](https://btyd.readthedocs.io/en/latest/User%20Guide.html)\n\n\n## Questions? Comments? Requests?\n\nPlease create an issue in the [BTYD repository](https://github.com/ColtAllen/btyd/issues).\n\n## Supported Models\n\n- **BG/NBD** Fader, Peter S., Bruce G.S. Hardie, and Ka Lok Lee (2005a),\n       [\"Counting Your Customers the Easy Way: An Alternative to the\n       Pareto/NBD Model\"](http://brucehardie.com/papers/018/fader_et_al_mksc_05.pdf), Marketing Science, 24 (2), 275-84.\n- **Gamma-Gamma** Fader, Peter \u0026 G. S. Hardie, Bruce (2013). [\"The Gamma-Gamma Model of Monetary Value\"](http://www.brucehardie.com/notes/025/gamma_gamma.pdf).\n- **Modified BG/NBD** Batislam, E.P., M. Denizel, A. Filiztekin (2007),\n       \"Empirical validation and comparison of models for customer base\n       analysis,\"\n       International Journal of Research in Marketing, 24 (3), 201-209.\n\n## Additional Information\n\n1. R implementation is called [BTYDplus](https://github.com/mplatzer/BTYDplus).\n1. [Bruce Hardie's website](http://brucehardie.com/), especially his notes, is full of useful and essential explanations, many of which are featured in this library.\n","funding_links":[],"categories":["Churn / CLV"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FColtAllen%2Fbtyd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FColtAllen%2Fbtyd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FColtAllen%2Fbtyd/lists"}