-
Notifications
You must be signed in to change notification settings - Fork 242
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
User contributed tutorial: Bayesian Hierarchical Stacking case study #1161
User contributed tutorial: Bayesian Hierarchical Stacking case study #1161
Conversation
dcdaafd
to
a2c3693
Compare
a2c3693
to
3400cc8
Compare
hi @MarcoGorelli thanks for the contribution! i'm sure this will be welcome. that note is mostly about trying to save the PR writer time (e.g. if a similar example already exists and they are unaware of it; if they are unaware of helper utilities that can simplify the code; etc) |
here are some more detailed comments/suggestions:
|
looks good to me pending any further comments from @fehiepsi |
The tutorial is great. Thanks, @MarcoGorelli! I just have some comments:
by
and some
can be written as
And it is best to use
with
|
Hey @fehiepsi and @martinjankowiak , thank you for your awesome reviews, much appreciated, I really learned a lot! I'm off on holiday tomorrow for 2 weeks, so I'll respond to further feedback when I'm back |
Thank you @MarcoGorelli! Please take your time. I just have two comments left:
For example,
Anyway, for simplicity, I think you can revise the rng_key pattern in cells 13, 17, 19, 20 using the following way
and
You can replace cell numbers by 0, 1, 2, 3, or any of your preferences. |
Thanks for contributing the excellent tutorial, @MarcoGorelli !! I have wanted to learn stacking for a long time. |
Hi,
With reference to #189 , I figured I'd try submitting an implementation I recently did of the first case study from the Bayesian Hierarchical Stacking paper.
I'm aware that the issue reads
and that I haven't opened an issue first asking if this would be welcome. However, I'd already made the notebook, and so figured the fastest way to move the conversation forward would be by opening a PR directly.
No hard feelings / offense taken if this isn't welcome of course 😄
Full disclosure: I've also submitted a PR with a PyMC3 version of this case study to the pymc-examples repo
This took about 40s to run on my laptop