Skip to content

Commit

Permalink
Add plot_expected_purchases function (#1115)
Browse files Browse the repository at this point in the history
* copy lifetimes functions

* rename force_aspect

* consolidate functions

* docstrings

* _expected_cumulative_purchases TODO

* rename function

* parameters

* tests WIP

* testing WIP

* test coverage

* clean up dev notebook

* quickstart notebook

* rename param to purchase_history

* type hints and params

* plt.clf in test instead of function

* test_plot_expected_purchases

---------

Co-authored-by: Will Dean <[email protected]>
  • Loading branch information
ColtAllen and wd60622 authored Oct 24, 2024
1 parent ab8e3b4 commit e8a4e3b
Show file tree
Hide file tree
Showing 6 changed files with 704 additions and 460 deletions.
679 changes: 410 additions & 269 deletions docs/source/notebooks/clv/clv_quickstart.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit e8a4e3b

Please sign in to comment.