-
Notifications
You must be signed in to change notification settings - Fork 218
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
Draft [Creating a Hierarchical MMM - Model] #460
Conversation
Notebook in progress . . . |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #460 +/- ##
=======================================
Coverage 90.82% 90.82%
=======================================
Files 21 21
Lines 1972 1972
=======================================
Hits 1791 1791
Misses 181 181 ☔ View full report in Codecov by Sentry. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
That's epic. Can you try for channel to be same color and hierarchy to be, say, linestyle? Think it'd be easier to read |
View / edit / reply to this conversation on ReviewNB wd60622 commented on 2023-12-10T09:06:24Z Is it possible to make use of the pd.DataFrame.to_xarray method?
It might look like this pd.DataFrame(...).set_index(["date", "control", "hierarchy"]).to_xarray() |
View / edit / reply to this conversation on ReviewNB wd60622 commented on 2023-12-10T09:06:25Z It'd be interesting to plot the "average" curve then the two hierarchy levels around that. To show that the curves are being pulled somewhere |
What's the status of this? Any blockers to moving this forward? |
I'll open a new PR with this! |
Description
Hey everyone, I wanted to remind you about our discussion from a few meetings ago. We talked about the possibility of adding a model that can generate hierarchies. Essentially, the idea is to create a module that will enable us to add hierarchies easily.
I've been working on a draft notebook that demonstrates the implementation of this idea. It's based on the base module, but I've made a few adjustments to make it work better. I'd like to get your feedback on it when you have a chance.
Related Issue
Checklist
Modules affected
Type of change
📚 Documentation preview 📚: https://pymc-marketing--460.org.readthedocs.build/en/460/