-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Circular kernel #4082
Circular kernel #4082
Conversation
Check out this pull request on Review Jupyter notebook visual diffs & provide feedback on notebooks. Powered by ReviewNB |
Codecov Report
@@ Coverage Diff @@
## master #4082 +/- ##
==========================================
+ Coverage 88.74% 90.38% +1.63%
==========================================
Files 89 89
Lines 14037 17786 +3749
==========================================
+ Hits 12457 16075 +3618
- Misses 1580 1711 +131
|
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.
Thanks a lot @ferrine , super exciting to get this into PyMC3 🎉
This looks good to me, I just left a few comments below, and going to review the associated NB now 😉
Also should be added to the GP kernel NB. |
Co-authored-by: Alexandre ANDORRA <[email protected]>
262e121
to
e9d4f6e
Compare
I've reviewed the circular kernel once more. In the paper parameterization, the lengthscale parameter appeared to cancel out in computation. I've updated the notebooks and added a comment to the Circular-GP notebook about that |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:32Z These lines need to be in a second, separate cell, otherwise the style can have problems (it's because of how matplotlib sets this up): %config InlineBackend.figure_format = 'retina' RANDOM_SEED = 8927 np.random.seed(RANDOM_SEED) az.style.use('arviz-darkgrid') |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:33Z "... is proportional to |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:34Z "... the Weinland function..." |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:34Z "...an |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:35Z
|
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:36Z "...let's validate our circular distance function..." |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:36Z
ferrine commented on 2020-10-10T10:45:38Z y_sampled is used for ferrine commented on 2020-10-10T10:46:18Z why is the GP's mean set to 4? It looks better on the plots |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-09-27T12:27:37Z Maybe explicit "RBF", or just say exponential? |
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.
Thanks @ferrine, really like the new version with the comparisons of different kernels, the take-aways and the explanation 👏
If you don't mind, I think there are still some typos / stuff to explicit, that I flagged above 😉 Tell me if anything is unclear. I think it'll be good to merge after that!
Sure |
y_sampled is used for View entire conversation on ReviewNB |
why is the GP's mean set to 4? It looks better on the plots View entire conversation on ReviewNB |
The morning following @AlexAndorra's comments is the best morning |
View / edit / reply to this conversation on ReviewNB MarcoGorelli commented on 2020-10-10T11:09:22Z Nice notebook!
Small nitpick, but if you could add a trailing semicolon here that'll get rid of
since this is a new notebook, if you could also run pip install -U nbqa nbqa black docs/source/notebooks/GP-Circular.ipynb this would reduce the workload for #4095 :) |
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.
Amazing, thanks a lot @ferrine 👏 And thanks for bearing with me and all my comments 😄
In this PR Circular kernel in introduced to work on exotic domains, e.g. Unit Circle
pymc3.gp.cov.Circular
is a new class to work with. The example can be found in the supplementary notebook.