-
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
Custom optimizer constraints #1358
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1358 +/- ##
==========================================
- Coverage 94.65% 94.59% -0.06%
==========================================
Files 48 49 +1
Lines 5257 5329 +72
==========================================
+ Hits 4976 5041 +65
- Misses 281 288 +7 ☔ View full report in Codecov by Sentry. |
Where there any closing issues for this? |
5e5c73a
to
02ce740
Compare
aeeb060
to
17c86f1
Compare
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I think everything is ready for review @wd60622 @ricardoV94 @juanitorduz Need to run a few notebooks to create a new files for the model because I'm addressing #1387 here! |
Co-authored-by: Ricardo Vieira <[email protected]>
Co-authored-by: Ricardo Vieira <[email protected]>
…-labs/pymc-marketing into custom_constraints_refactor
…-labs/pymc-marketing into custom_constraints_refactor
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 one comment. Not a blocker though
Looks awesome
Description
Allowing optimizer to use custom constraints around any intermediate variable (e.g: Response, Specific channel contributions or budgets).
It also allows optimizing a subset of budgets by passing a boolean
opt_mask
Build on top of #1357 by @ricardoV94
Related Issue
total_channel_contributions
deterministic inMMM
models #1387Checklist
Modules affected
Type of change
📚 Documentation preview 📚: https://pymc-marketing--1358.org.readthedocs.build/en/1358/