Skip to content
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

sign fix for gradient blocks #2598

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

m-julian
Copy link
Contributor

The sign of the first and second gradient blocks for the Matern52KernelGrad kernel was wrong. This PR should fix issue #2563. I've also updates the tests.

@gpleiss
Copy link
Member

gpleiss commented Oct 18, 2024

@m-julian thanks for the PR!

Would you be able to add a derivation of the gradient in the docstring of the kernel?

@m-julian
Copy link
Contributor Author

@gpleiss I've added the equations for the gradient and Hessian blocks. I've also linked to the initial PR in the docstring that contains a pdf file with the full derivations. That pdf should be correct, I just messed up the signs in the initial implementation. I've also added the Matern52KernelGrad to the kernels.rst file, so it shows up in the documentation.

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