Skip to content

Commit ccb9c98

Browse files
Add Tutorial Notebook for ShiftedBetaGeoModel (#2122)
* delete outdated dev notebook * add tutorial notebook * remove hotfix cell * update links to nb in docs * update model name in last cell * fix gallery links --------- Co-authored-by: Juan Orduz <[email protected]>
1 parent 66d8b32 commit ccb9c98

File tree

5 files changed

+343
-254
lines changed

5 files changed

+343
-254
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Understand and optimize your customer's value with our **CLV models**. Our API s
156156
- [BG/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/bg_nbd.html)
157157
- [Pareto/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/pareto_nbd.html)
158158
- [Gamma-Gamma model](https://www.pymc-marketing.io/en/stable/notebooks/clv/gamma_gamma.html)
159-
- [Shifted Beta-Geo model](https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.clv.models.shifted_beta_geo.ShiftedBetaGeoModel.html)
159+
- [Shifted BG model](https://www.pymc-marketing.io/en/stable/notebooks/clv/sbg.html)
160160
- [Modified BG/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/mbg_nbd.html)
161161

162162
### Examples

docs/source/gallery/gallery.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,12 @@ Welcome to the PyMC-Marketing example gallery! This gallery provides visual navi
210210
:link: ../notebooks/clv/gamma_gamma.html
211211
:::
212212

213-
:::{grid-item-card} sBG Model
213+
:::{grid-item-card} Shifted BG Model for Cohorts
214+
:img-top: ../gallery/images/sbg.png
215+
:link: ../notebooks/clv/sbg.html
216+
:::
217+
218+
:::{grid-item-card} sBG Model for Individuals
214219
:img-top: ../gallery/images/sBG_individual.png
215220
:link: ../notebooks/clv/sBG_individual.html
216221
:::

docs/source/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Understand and optimize your customer's value with our **CLV models**. Our API s
163163
- [BG/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/bg_nbd.html)
164164
- [Pareto/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/pareto_nbd.html)
165165
- [Gamma-Gamma model](https://www.pymc-marketing.io/en/stable/notebooks/clv/gamma_gamma.html)
166-
- [Shifted Beta-Geo model](https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.clv.models.shifted_beta_geo.ShiftedBetaGeoModel.html)
166+
- [Shifted BG model](https://www.pymc-marketing.io/en/stable/notebooks/clv/sbg.html)
167167
- [Modified BG/NBD model](https://www.pymc-marketing.io/en/stable/notebooks/clv/mbg_nbd.html)
168168

169169
Each of these models is tailored to different types of data and business scenarios:

docs/source/notebooks/clv/clv_quickstart.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
"\n",
2121
"* **[BG/NBD model](https://pymc-marketing.readthedocs.io/en/stable/notebooks/clv/bg_nbd.html)** for continuous time, non-contractual modeling\n",
2222
"* **[Pareto/NBD model](https://pymc-marketing.readthedocs.io/en/stable/notebooks/clv/pareto_nbd.html)** for continuous time, non-contractual modeling with covariates\n",
23-
"* **[Shifted BG model](https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.clv.models.shifted_beta_geo.ShiftedBetaGeoModel.html)** for discrete time, contractual modeling\n",
23+
"* **[Shifted BG model](https://www.pymc-marketing.io/en/stable/notebooks/clv/sbg.html)** for discrete time, contractual modeling with cohorts and covariates\n",
2424
"* **[BG/BB model](https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.clv.models.beta_geo_beta_binom.BetaGeoBetaBinomModel.html)** for discrete time, contractual modeling\n",
25-
"* **Exponential Gamma model** for discrete time, contractual modeling (coming soon)\n",
2625
"* **[Gamma-Gamma model](https://pymc-marketing.readthedocs.io/en/stable/notebooks/clv/gamma_gamma.html)** for expected monetary value\n",
2726
"* **[Modified BG/NBD model](https://pymc-marketing.readthedocs.io/en/stable/notebooks/clv/mbg_nbd.html)**, similar to the BG/NBD model, but assumes non-repeat customers are still active.\n",
2827
"\n",

0 commit comments

Comments
 (0)