Skip to content

Updating GP-Kron notebook #144

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

Merged
merged 1 commit into from
Jul 3, 2021
Merged

Conversation

ckrapu
Copy link
Contributor

@ckrapu ckrapu commented Apr 20, 2021

This pull request addresses issue #71 by updating the Kronecker GP notebook to follow best practices and to include improved descriptions. Some of the plots were also simplified and the plot generating code was cleaned up.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ckrapu ckrapu changed the title Updating GP-Kron notebook [WIP] Updating GP-Kron notebook Apr 20, 2021
@ckrapu
Copy link
Contributor Author

ckrapu commented Apr 20, 2021

Marking this as WIP because the MAP estimator is returning weird results in this notebook.
Okay, should be ready for review now.

@ckrapu ckrapu force-pushed the update-gpkron-nb branch from ce40f40 to dcca11f Compare April 20, 2021 04:06
@ckrapu ckrapu changed the title [WIP] Updating GP-Kron notebook Updating GP-Kron notebook Apr 23, 2021
@review-notebook-app
Copy link

review-notebook-app bot commented Apr 24, 2021

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-04-24T18:16:09Z
----------------------------------------------------------------

Predictions look very different now, it looks like there used to be some kind of diffusion effect that is now gone. Could be due to find_map not having converged, the final logp is different from the past one.


fonnesbeck commented on 2021-07-03T13:48:51Z
----------------------------------------------------------------

The inputs are also different, due to a different seed (which is fine).

@review-notebook-app
Copy link

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-04-24T18:16:10Z
----------------------------------------------------------------

The lines argument is not properly formatted and thus lines are not shown. If docs: https://arviz-devs.github.io/arviz/api/generated/arviz.plot_trace.html are not clear enough, I wrote a blogpost with examples on that: https://oriolabril.github.io/oriol_unraveled/python/arviz/matplotlib/2020/06/20/plot-trace.html#The-lines-argument


@review-notebook-app
Copy link

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-04-24T18:16:10Z
----------------------------------------------------------------

Given that pp samples are used to average, each sample in the posterior should be used, not only the first 200 samples from the first chain. I would also suggest using from_pymc3+extend like in the rugby example which should hopefully not have much effect on the code below other than some labeling changes in selecting and averaging.

Rubgy example preview: https://nbviewer.jupyter.org/github/pymc-devs/pymc-examples/blob/main/examples/case_studies/rugby_analytics.ipynb


@review-notebook-app
Copy link

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-04-24T18:16:11Z
----------------------------------------------------------------

both xarray and theano should be present here too. I added some guidance on adding extra libs in the watermark at https://github.com/pymc-devs/pymc3/wiki/PyMC3-Jupyter-Notebook-Style-Guide


Copy link
Member

The inputs are also different, due to a different seed (which is fine).


View entire conversation on ReviewNB

@fonnesbeck
Copy link
Member

I'm going to merge this, and address Oriol's comments in another PR.

@fonnesbeck fonnesbeck merged commit 2befe78 into pymc-devs:main Jul 3, 2021
@OriolAbril OriolAbril mentioned this pull request Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants