Replies: 1 comment
-
|
Hi @awang124, I am assuming your are using a multi-task GP model similar to this tutorial. To extract the |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm performing GP regression for 2-tasks (independent) on 2-dimensional inputs, i.e. my
XandYboth have shape(N, 2). After training, I currently obtain my posterior mean and variance as follows:This produces
meanandvar. I knowvaris shape(N, 2), and its columns each contain variance for a single task. However, I'm wondering if it's possible to extract each input's crosscovariance elements as well, without forming my entire test data's covariance matrixpred.covariance_matrix, of shape(2N, 2N), which is far too big for my task to store. Essentially, I'm wondering if it's possible to extract only the 2x2 block diagonal of this matrix (since I'm treating each test input independently), without the full matrix.Apologies if I've missed an obvious way to achieve this. Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions