Replies: 3 comments 1 reply
-
Hi @Sam4896. The MultiTaskGP is the basic model. It uses two kernels, a base kernel over the non-task input features (exactly the kernel you'd use in a GP that ignored the tasks) and a task kernel over the task features.
It seems that the argument naming / documentation is a bit confusing here. The The task feature is the index of a given task. If I have two tasks, the task feature would be 0 & 1, with the
The Kronecker product used here is just between the base kernel and the task kernel. It's just a fancy way to say that
I can't claim to understand this in detail either, so take this with a grain of salt. On the surface, the two models are quite similar. However, there are key differences in input requirements and how the posterior is computed. For MTGP, we can have arbitrary observations from each task, like
Both MTGP & KroneckerMTGP use an
You can refer to this tutorial for an example: https://botorch.org/tutorials/composite_mtbo |
Beta Was this translation helpful? Give feedback.
-
Hi @saitcakmak I am have some doubts and would really request your opinion about the same. I tried implementing the KroneckerMTGP for my case where I have 55 training instances. The input is 4 dimensional and the output is 9 dimensional. But I didn't normalize the outputs/tasks. I used fit_gpytorch_mll and when I observed the model.covar_module.task_covar_module.covar_matrix, I got a heatmap for the covariance between the tasks. I also saw the correlation between the ouputs directly using the data. The two look like this:
|
Beta Was this translation helpful? Give feedback.
-
Hi @saitcakmak Suppose I have data from a process of a manufacturing process. 'A' experiments for a material 'a' and 'B; experiments for material 'b' are done. But the implemented process is the same. Each experiment for each material has 4 input parameters and yields 9 outputs that are represent some geometric charateristic. The 9 outputs might be correlated because they belong to the same geometry. Now my aim is to predict the 9 outputs if I am given the input parameters and if the material has property 'a' or 'b'.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Could you please also explain, how to use the MTGP class?
Beta Was this translation helpful? Give feedback.
All reactions