pymc-devs / pymc-examples

Examples of PyMC models, including a library of Jupyter notebooks.
https://www.pymc.io/projects/examples/en/latest/
MIT License
282 stars 244 forks source link

Standardize and Update Notebook Gallery #34

Closed AlexAndorra closed 3 years ago

AlexAndorra commented 4 years ago

[BEGINNER-FRIENDLY] Our notebooks gallery is quite big, so:

So this issue is here to signal it would be nice if people want to take some time updating and re-running the notebooks below with PyMC 3.9, according to this style page πŸŽ‰ Do it in small batches though, to not get bored and enjoy it πŸ˜‰ Thanks a lot in advance for your help and don't hesitate to ask your questions below! PyMCheers πŸ––

Here is an up-to-date list of the most outdated and problematic NBs (those not listed here should be checked for style and updating accordingly):

Exotic

Other Issues

Sayam753 commented 4 years ago

Hi @AlexAndorra I am willing to update the notebooks dealing with Variational Inference and restyling according to the guide. I have one question though - do we need to re-run the notebooks on the current state of the PyMC3 codebase or running them on the latest released version (3.8)?

AlexAndorra commented 4 years ago

Great, thanks for answering so quickly Sayam! Actually, we're rerunning and restyling all the notebooks prior to releasing 3.9.0 (see https://github.com/pymc-devs/pymc3/pull/3955) so it'd be awesome if you could help us out here with the VI notebooks (or any others you like) -- just make sure to tell us which you're working on in the comments πŸ™

Le ven. 12 juin 2020 Γ  19:59, Sayam Kumar notifications@github.com a Γ©crit :

Hi @AlexAndorra https://github.com/AlexAndorra I am willing to update the notebooks dealing with Variational Inference and restyling according to the guide. I have one question though - do we need to re-run the notebooks on the current state of the PyMC3 codebase or running them on the latest released version (3.8)?

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc3/issues/3959#issuecomment-643410894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIJMTD56PC76BTY6A33CSDRWJUH3ANCNFSM4N4QU4WA .

OriolAbril commented 4 years ago

I can work on rugby, radon (multilevel_modeling) and model comparison ones. I like the first two because after rerunning them I will be able to update the ArviZ examples with the new InferenceData objects (see https://github.com/arviz-devs/arviz/issues/1132). Regarding the third one, I am very familiar with loo/waic api and therefore I don't expect to find many issues (nor spend too much time on it).

AlexAndorra commented 4 years ago

Thanks @OriolAbril ! Actually, I think @Sayam753 already updated the rugby NB. Now that pymc-devs/pymc3#3955 is merged, he'll probably open a new PR and it should be merged in master pretty soon πŸ˜‰ For the radon NB, it should be quick: I updated it a couple of months ago and it was reviewed so I think it's a false positive -- the More chains (4000) than draws (2) warning is because of a known ArviZ issue that we didn't have time to look at yet, and I don't expect many plots to be wrong. But it's alway good to have a second pair of eyes! Finally, I think you're the perfect person for the model_comparison NB πŸ˜‰

Sayam753 commented 4 years ago

I will open a PR regarding rugby notebook and will be happy @OriolAbril reviewing the same.

OriolAbril commented 4 years ago

Great! Please ping me in the PR and I'll review :)

aloctavodia commented 4 years ago

Count on me to fix the model comparison and model averaging notebooks.

fonnesbeck commented 4 years ago

I am working on the GP notebooks.

AmitKus commented 4 years ago

I submitted a PR for weibull_aft. It's my first PR so will greatly appreciate if one of you can review it! @AlexAndorra Thanks.

ricardoV94 commented 3 years ago

Should we transfer this to pymc-examples? It doesn't show as an option if I click transfer issue ->.

OriolAbril commented 3 years ago

Sounds good, I think I can transfer the issue

OriolAbril commented 3 years ago

closing this in favour of the tracker project and all the other issues (each notebook has its own issue now)