-
Notifications
You must be signed in to change notification settings - Fork 262
MMM Multi-Dimensional Example #1521
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
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
View / edit / reply to this conversation on ReviewNB juanitorduz commented on 2025-02-27T19:04:57Z This plot looks very weird |
View / edit / reply to this conversation on ReviewNB juanitorduz commented on 2025-02-27T19:04:57Z The posterior predictive distribution is very off the true values, it seems its totally missing the channel contributions. wd60622 commented on 2025-02-28T11:36:20Z The model seems to scale by the max value across all of the targets.
|
View / edit / reply to this conversation on ReviewNB wd60622 commented on 2025-02-28T11:16:46Z Line #5. "likelihood": Prior("Normal", sigma=Prior("HalfNormal", sigma=6)), The intercept is by geo. Should the sigma be by geo as well
`Prior("Normal", sigma=Prior("HalfNormal", sigma=6, dims="geo"), dims=("date", "geo"))
Also, sigma=6 is quite large in the scaled domain |
The model seems to scale by the max value across all of the targets.
View entire conversation on ReviewNB |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1521 +/- ##
==========================================
- Coverage 92.88% 92.87% -0.02%
==========================================
Files 54 54
Lines 6270 6272 +2
==========================================
+ Hits 5824 5825 +1
- Misses 446 447 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@carlosagostini is this a feature or a bug 😅 ? |
Waiting for some improvements from #1551 :) |
Thanks @carlosagostini ! Your fixes worked! I am unblocked now :) |
Awesome! |
@carlosagostini @wd60622 I am having examples with the out-of-sample predictions (see a93dcf8) I think it's a coords dim update mismatch. I will try to debug but let me know if you have ideas of where this can happen 🙏 |
I think 3f802a5 solves it (we might need to provide the coordinates for the time varying intercept) |
I had a similar fix here pymc-marketing/pymc_marketing/mmm/multidimensional.py Lines 1348 to 1350 in b2e5eef
In this commit: 9bb4df1 |
@wd60622 @carlosagostini This one is ready for review! I think we can iterate on this notebook as we add more features. Let's merge this one (after your feedback) and engage with the users to get feedback! 🚀 Really AMAZING job you guys have done here! |
This is great mate, amazing work! I'll take a look tonight 🔥 |
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.
All good from my side!
Intro notebook to the new (experimental)
MMM
class.📚 Documentation preview 📚: https://pymc-marketing--1521.org.readthedocs.build/en/1521/