-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Added General Updates in data_container.ipynb file #151
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 OriolAbril commented on 2021-05-04T11:58:34Z Here there are also KavyaJaiswal commented on 2021-05-05T12:15:13Z Updated accordingly |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-05-04T11:58:34Z More KavyaJaiswal commented on 2021-05-05T12:15:28Z Updated |
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.
I haven't commented on ArviZ things yet, they are in the issue already.
I'm currently working on the ArviZ related changes and will update it as soon as I complete them. |
Updated accordingly View entire conversation on ReviewNB |
Updated View entire conversation on ReviewNB |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-05-06T22:05:16Z The plot should try to generate a plot similar to the original one. Try for example something like:
az.plot_posterior(length_ppc, ref_val=ref_length, point_estimate=None, hdi_prob="hide")
You shoud be able to remove the OriolAbril commented on 2021-10-13T02:23:56Z Here use the provided code please and update the ax.text and so on accordingly. |
View / edit / reply to this conversation on ReviewNB KavyaJaiswal commented on 2021-05-07T10:32:33Z What exactly should be my approach to fix this warning? OriolAbril commented on 2021-05-07T15:21:42Z
The ideal situation is to pass array objects with dims KavyaJaiswal commented on 2021-10-12T15:50:04Z Please guide me to resolve this part. OriolAbril commented on 2021-10-13T02:23:02Z I think it will be fixed automatically if using InferenceData as indicated above |
The ideal situation is to pass array objects with dims View entire conversation on ReviewNB |
@KavyaJaiswal any chance of pushing this to completion? |
I'm really sorry! I am currently busy with my Outreachy internship and don't think I will be able to work on this till August. |
@KavyaJaiswal let us know if you need any help to finish this or if you prefer someone else take over 😄 |
@OriolAbril If it's urgent, someone can definitely take over. If not, I'm finishing my Outreachy internship on 31st August and I can then finish this. |
It's not urgent, just wanted to have an idea so we can get it done roughly by the end of September |
Sure |
Can I still work on this PR? @OriolAbril |
Yes! You will need to update the PR with the latest changes in main and take a look at the improved style guide https://github.com/pymc-devs/pymc/wiki/PyMC3-Jupyter-Notebook-Style-Guide. Your PR has been frozen but the repo has had a lot of work done to it in many areas! Let us know if you need any help |
@OriolAbril I believe you sent the wrong link by mistake. |
fixed, sorry about the confusion |
Please guide me to resolve this part. View entire conversation on ReviewNB |
I think it will be fixed automatically if using InferenceData as indicated above View entire conversation on ReviewNB |
Here use the provided code please and update the ax.text and so on accordingly. View entire conversation on ReviewNB |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-10-13T02:24:01Z Line #16. traces.append(pm.sample(return_inferencedata=False)) this should use |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-10-13T02:24:02Z Line #12. trace = pm.sample(return_inferencedata=False, tune=2000) same here, we should always return inferencedata. |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-10-13T02:24:03Z Line #14. trace_babies = pm.sample(tune=2000, return_inferencedata=False) same here, return InferenceData. I think the two above won't require any extra changes, this one will need some updates below, I am comenting there too |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2021-10-13T02:24:05Z Line #2. pp_length = pm.sample_posterior_predictive(trace_babies)["length"] here the result should be added to the inferencedata from above, you can follow the pattern in https://pymc-examples.readthedocs.io/en/latest/case_studies/rugby_analytics.html#results. There will therefore not be a |
bb86393
to
b1574c7
Compare
@KavyaJaiswal I took the liberty of taking over and finish it so we can merge it in the following days as we have just released the beta version for the pymc 4.0 |
Thank you so much @OriolAbril for finishing this merge request! |
View / edit / reply to this conversation on ReviewNB michaelosthege commented on 2021-12-19T18:11:18Z We can probably do without |
View / edit / reply to this conversation on ReviewNB michaelosthege commented on 2021-12-19T18:11:19Z Let's move this up into the cell where the model was defined |
Description
File: https://github.com/pymc-devs/pymc-examples/blob/main/examples/pymc3_howto/data_container.ipynb
Addresses issue #108 aims to advance the notebook to the 'Best Practices' State.
The changes are as follows