-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BetaGeoBetaBinomModel
#1031
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Is there a |
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Fixed by b3abdab using #1031 (comment) @ColtAllen If you wanna add some changed make sure to pull first ;) |
@ColtAllen regarding
Do you see a speed-up with this model or all CLV models? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work @ColtAllen !
This test is very slow:
Any ideas if we can make it a bit faster? |
#707 only impacts
Merging #707 would make it about 3x faster. Only other way to speed it up would be to use a smaller fit dataset. There's another test here that is also rather slow, but addressing the TODOs will fix that. |
Ok! Then from my side we can merge this one and lets work on those to-dos 🙂 |
Description
Reopening #922 due to the force push.
The BG/BB model is for non-contractual purchase opportunities across discrete time periods; a good example would be sporting events.
Sampling is rather slow because NUTS defaults to compound sampling due to the discrete distributions used in this model. I recommend that #707 be merged to speed up performance.
A small addition to
CLVBaseModel
was required for the input validations, and the dev notebook is rather minimalist right now but will be expanded into a full how-to in a future PR. An inefficiency indistribution_new_customers
that is shared by all CLV models was also identified and will be fixed in a separate PR.Related Issue
BetaGeoBetaBinomModel
#176Checklist
Modules affected
Type of change
📚 Documentation preview 📚: https://pymc-marketing--1031.org.readthedocs.build/en/1031/