-
Notifications
You must be signed in to change notification settings - Fork 32
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
Issue 757: Vectorise GP stan code #742
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
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 @seabbs. I've now reviewed the code aspects as much as I can. I am currently exploring the various gp kernels locally and will report if I find anything worth discussing.
Co-authored-by: James Azam <[email protected]>
Co-authored-by: James Azam <[email protected]>
Co-authored-by: James Azam <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 7532c83 is merged into main:
|
Description
This PR builds on #741 and closes #757 by vectorising the spectral density functions, using a single matern function, and introducing periodic kernals. It uses ideas found in https://avehtari.github.io/casestudies/Motorcycle/motorcycle_gpcourse.html.
It takes advantage of this refactor to do some prior predictive checking for the priors related to the GP, and then leverages the improved performance to reduce stan settings and relax initialisation constraints (see the news section).
Initial submission checklist
devtools::test()
anddevtools::check()
).devtools::document()
).lintr::lint_package()
).After the initial Pull Request