retention models to forecast churn
Project description
retenmod
This is a python port of the R package foretell. This projects customer retention rates, see “How to Project Customer Retention” Revisited: The Role of Duration Dependence (Fader et al., 2018) for the original formulation and description of the models.
To install, just use pip:
pip install retenmod
Only dependencies are scipy and numpy. For a simple example of use for the BdW model:
import retenmod
surv = [100, 86.9, 74.3, 65.3, 59.3]
res = retenmod.bdw(surv,6)
print(res.params)
print(res.proj)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
retenmod-0.0.1.tar.gz
(3.9 kB
view hashes)