How to do Hadamard Multitask GP Regression with batched input data #2524
Unanswered
EricLangezaal
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
-
Hi! I have been trying to do Hadamard Multitask GP Regression, for batched input data. Copying the tutorial exactly allows me to correctly perform the regression on a single vector input x.
I cannot get it to work for batched inputs of the shape [batch, num_datapoints, dim_x]. I have taken a look at this tutorial, but still couldn't get it to work.
My current code is the following:
Where
kernel
is a simple RBF kernel and xc is of shape [batch, num_data, x_dim] and yc of shape [batch,num_data, 1]. This fails with the error:If I instead use an xc of shape [num_data] (i.e. no batches and 1-dimensional x_dim) and do not set the batch_shape anywhere it works just fine, but I really want to be able to do this for batched inputs.
Does anyone know how to properly do batched Hadamard Multitask GP regression?
Beta Was this translation helpful? Give feedback.
All reactions