-
-
Notifications
You must be signed in to change notification settings - Fork 268
Change examples to use coords where appropriate #14
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
Comments
+1 💯 |
@CloudChaoszero This is getting a lot but I wonder if at least with the changing of the examples in #16 we should at least have them use |
Sounds great @twiecki! I saw this earlier, but was unsure what Is that another term (or method of said class) |
@CloudChaoszero No, it's a way to specify dimensions in a model. For example, for Radon, instead of just specifying I do have to warn you though, this would require you to level up on xarray and arviz and would be quite an important but also time-intensive refactor. You can just take it one NB at a time and stop when you're bored, every little bit helps, but just wanted to mention that. Alternatively, just changing the plotting and stats functions to arviz alone would already be a great contribution, and probably more important in terms of time-line. |
Together with You can see that in the link I posted above: the posterior data has 3 There are lots of examples in this NB for instance. Hope this helps 🖖 |
Ah, sounds great @twiecki & @AlexAndorra! The combination of learning arviz & xarray is aligned to what I am trying to learn within the PyMC3 space. ( thanks y'all for the resources). I can have this refactor be implemented after the plots & diagnostics PR. |
Small update:
(Recently completed a couple of PRs from repos pymc3 & pymc-example) |
I'm closing in on completing the PRs regarding I'll start working on this issue for the next few weeks. |
This is great @CloudChaoszero! I have a favour to ask about the approach to submit PRs, I hope you don't mind. We are offering an outreachy internship project about updating all the notebooks, not only to replace outdated and deprecated behaviour, use ArviZ+xarray, make sure they all show best practices but to move them to pymc3 v4 which we are planning to release soon. The internship (if this is eventually the chosen project) will take place during summer, but the application process will start in 1-2 weeks. We therefore expect applicants to start contributing and getting familiar with the repo as part of the application process, it's hard to try to guess how many people will get involved, but we should be prepared to to accomodate several people working and submitting PRs at the same time. Thus, I would suggest working on few notebooks and make many changes to them instead of applying a small subset of changes to all the notebooks. jupyter notebooks don't really play well with git history and I think doing this will minimize merge conflicts due to multiple people working on the same notebook. |
@OriolAbril Oh no worries! Sounds good, and glad to see Pymc is providing internships to individuals from diverse backgrounds. |
Thanks! 😄 and thanks for all the updates so far, they will really help in focusing the internship on pymc3 v3->v4 updates and showcase all the improvements that will come with this next version |
Small update: I should come back to (incrementally) making the changes in the notebooks @OriolAbril. I had some bandwidth constraints recently haha |
coords
is a very useful feature that not enough people know about. Our docs should establish best practices so using it in our NBs is an important step.The text was updated successfully, but these errors were encountered: