-
Notifications
You must be signed in to change notification settings - Fork 235
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
#1035 Distribution new customer enhancements #1061
#1035 Distribution new customer enhancements #1061
Conversation
pymc_marketing/mmm/plot.py
Outdated
@@ -570,7 +570,7 @@ def plot_curve( | |||
subplot_kwargs : dict, optional | |||
Addtional kwargs to while creating the fig and axes | |||
sample_kwargs : dict, optional | |||
Kwargs for the :func:`plot_curve` function | |||
Kwargs for the :func:`plot_sample` function |
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.
Can we leave this change out of this PR? 🙏
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.
Just done this thanks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1061 +/- ##
==========================================
- Coverage 95.85% 95.60% -0.26%
==========================================
Files 39 39
Lines 3934 3934
==========================================
- Hits 3771 3761 -10
- Misses 163 173 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you @Ishaanjolly ! |
Sorry that I was late in seeing this, but the same changes can also be applied to |
Thanks @ColtAllen ! @Ishaanjolly would you wanna do something similar to |
Sure, I'll create a new issue for it and pursue it. Thanks @juanitorduz and @ColtAllen @ColtAllen would also appreciate your suggestions on best way to cache log_p outputs. |
* feat: test.txt added for commit check * feat: replaced plot_curve with plot_samples within ./mmm/plot.py * feat: n_samples added to distributions_new_customers * revert the plot.py changes --------- Co-authored-by: Juan Orduz <[email protected]>
Description
I added
n_samples: int = 1000
to_distribution_new_customers
and modified this line within:Additionally:
I added
n_samples: int = 1
todistribution_new_customer_recency_frequency
and modified this:Related Issue
distribution_new_customer
Enhancements #1035Checklist
Modules affected
Type of change
📚 Documentation preview 📚: https://pymc-marketing--1061.org.readthedocs.build/en/1061/