Can PosteriorTransform
convert a multi-output GP to a SingleTaskGP
object?
#1280
-
I am currently working on a model which requires scalarized posterior of a multi-output GP model. The existing
Why?
I am working on this implementation but suggestions from the dev team would be greatly appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Yeah, that's pretty much what it is designed for.
I think this would require you to transform the prior functions, i.e. the
Regarding the fantasy models, if you have a transformed model of expectation, it will use a fantasy observation of the expectation to compute the fantasy models. You won't be able to update each model independently here (because you don't have individual fantasized observations). So, there may be some information loss there. How can you actually implement this: |
Beta Was this translation helpful? Give feedback.
-
While working on this, I ran into an issue. What is the right way to perform a scalar multiple of the
I get the following error
|
Beta Was this translation helpful? Give feedback.
-
I believe the issue is that you're trying to increment |
Beta Was this translation helpful? Give feedback.
-
And regarding the lazy tensor, you can do |
Beta Was this translation helpful? Give feedback.
Yeah, that's pretty much what it is designed for.
I think this would require you to transform the prior functions, i.e. the
mean_module
and thecovar_module
, and to transform them as functions rather than point-wise as is done withScalarizedPosteriorTransform
. One hacky way to do it (which is again point-wise) would be to simply apply theScalarizedPosteriorTransform
at theforward
call. I am not sure how well this would work, and if you do this, it wouldn't work withfantasize
. So, probably not a great idea…