Skip to content

Commit

Permalink
Fix some ParetoNBDModel docstring typos (#731)
Browse files Browse the repository at this point in the history
* Removed the comma after Schmittlein

* Added missing reference

* Removed extra colon
  • Loading branch information
Mews authored and twiecki committed Sep 10, 2024
1 parent 9779514 commit 00e7b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymc_marketing/clv/models/pareto_nbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def local_reduce_max_num_iters_hyp2f1_grad(fgraph, node):
class ParetoNBDModel(CLVModel):
"""Pareto Negative Binomial Model (Pareto/NBD).
Model for continuous, non-contractual customers, first introduced by Schmittlein, et al. [1]_,
with additional derivations and predictive methods by Hardie & Fader [2]_ [3]_ [4]_.
Model for continuous, non-contractual customers, first introduced by Schmittlein et al. [1]_,
with additional derivations and predictive methods by Hardie & Fader [2]_ [3]_ [4]_ [5]_.
The Pareto/NBD model assumes the time duration a customer is active follows a Gamma distribution,
and time between purchases is also Gamma-distributed while the customer is still active.
Expand Down Expand Up @@ -96,7 +96,7 @@ class ParetoNBDModel(CLVModel):
* `purchase_covariates_prior`: Coefficients for purchase rate covariates; defaults to `Normal(0, 3)`
* `dropout_covariates_prior`: Coefficients for dropout covariates; defaults to `Normal.dist(0, 3)`
* `purchase_covariate_cols`: List containing column names of covariates for customer purchase rates.
* `dropout_covariate_cols:`: List containing column names of covariates for customer dropouts.
* `dropout_covariate_cols`: List containing column names of covariates for customer dropouts.
If not provided, the model will use default priors specified in the `default_model_config` class attribute.
sampler_config: dict, optional
Expand Down

0 comments on commit 00e7b0e

Please sign in to comment.