Variance of Derivative GP (found through the Function GP) #2400
Unanswered
shikhar-saxena
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am fitting a GP on the function values and want to make derivative predictions.
The derivative is also a Gaussian Process with the following parameters:

I followed this blogpost to get the mean function for the derivative.
Code from the blogpost:
I tried to extend it to get the variance for the derivative GP like this:
I get negative variances with this approach; so this seems incorrect.
In GPy there's a
kernel.dK2_dXdX2
to compute the terms in the expression for derivative-variance. Do we have something similar in gpytorch? It would be very helpful if someone could let me know how to compute the derivative variance.Beta Was this translation helpful? Give feedback.
All reactions