-
Notifications
You must be signed in to change notification settings - Fork 331
Fixing fixed_beta bug adding new test for nested_logit #2015
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
Conversation
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2015 +/- ##
==========================================
+ Coverage 93.89% 93.95% +0.05%
==========================================
Files 67 67
Lines 9221 9228 +7
==========================================
+ Hits 8658 8670 +12
+ Misses 563 558 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
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.
Amazing! Thank you @NathanielF !
|
Should we cut a new release? |
We probably do it today! We are solving some other issue in https://github.com/pymc-labs/pymc-marketing/actions/runs/18628039054/job/53108823321?pr=2010 This will unlock 2 PRs waiting for merge :) after it. we can do release. |
* fixing fixed beta bug adding new test for consumer choice Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * fix linting Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * shorten line length Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * running ruff Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * running ruff format Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * adding beta_fixed coefficients in notebook Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> * text edit to force job re-run Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com> --------- Signed-off-by: Nathaniel <NathanielF@users.noreply.github.com>
Description
Fixing bug on nested logit when using pymc 5.26 and ensuring parameter identification holds.
Related Issue
Following discussion here: #2011
I've opened a clean branch from main to fix the bug and test parameter identification. I've added a new test and demonstrated the counterfactual removal strategy in the nested logit notebook.
Fix was basically the addition @juanitorduz made but i had keep the dimensions as i had them.
📚 Documentation preview 📚: https://pymc-marketing--2015.org.readthedocs.build/en/2015/