Independent observation noise in MultitaskGaussianLikelihood #2573
Unanswered
madsendennis
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm new to gpytorch and trying to convert some code from Sklearn to hopefully speed up some processes.
I am working in a 3D setting - so with
num_task=3
.I would like to provide an uncertainty to the 3D deformations that are observerved, ideally the full covariance matrix, but to begin with just I*sigma^2.
In Sklearn I do so by:
In gpytorch I tried to do
But it only works if I set
Which to me seems that the same task noise is given to each observation.
I also tried the
FixedNoiseGaussianLikelihood
, which also doesn't give the output I am looking for.For context, I created a small toy example where I define a 2D plane.
I then take a corner point and the center point as the places I observe some deformation.
And the deformation being a vector along the Z axis.
I then compute the posterior model and add the deformation to the original points:
This here is my model in gpytorch:
In Sklearn I get the expected output. The corner point has constant noise 1.0, so it is the same over the 3 runs. The center point is computed with noise 1, 2 and 5:

In gpytorch I currently get:

I see that there are some similarities to this discussion #2117
Ideally, I would also like a full covariance matrix per observation, but to begin with, a single variance term, just as in Sklearn, would also be fine; I just cannot figure out where to properly define this.
Beta Was this translation helpful? Give feedback.
All reactions