From 00e7b0ef8a327f3c2f77f24c3ce4504547361cde Mon Sep 17 00:00:00 2001 From: Mews <60406199+Mews@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:50:05 +0100 Subject: [PATCH] Fix some ParetoNBDModel docstring typos (#731) * Removed the comma after Schmittlein * Added missing reference * Removed extra colon --- pymc_marketing/clv/models/pareto_nbd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymc_marketing/clv/models/pareto_nbd.py b/pymc_marketing/clv/models/pareto_nbd.py index 4803518d..37e454dd 100644 --- a/pymc_marketing/clv/models/pareto_nbd.py +++ b/pymc_marketing/clv/models/pareto_nbd.py @@ -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. @@ -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