-
I'm intending to port some code to BoTorch using GPyTorch - and I'd like to supply priors for different dimensions. For now, let's assume a positive quadratic would suffice e.g., That works great for one dimension - I defined my Instead, I want to give a separate custom mean for each dimension (e.g., maybe I want to specify a For kernels, there are examples using Anything similar for stacking means? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
What exactly do you mean by "a separate custom mean for each dimension"? The mean function (in the standard, non-multi-task setting) is a scalar function. Do you want to just combine those functions together in some pre-defined way, say additively? I don't think there is anything pre-canned, but you should be able to just define a custom mean that picks out the right dimensions?
You can also get fancier by allowing to pass other mean functions into the arguments of the constructor of such a combo mean if that's the kind of flexibility you'd like. |
Beta Was this translation helpful? Give feedback.
What exactly do you mean by "a separate custom mean for each dimension"? The mean function (in the standard, non-multi-task setting) is a scalar function. Do you want to just combine those functions together in some pre-defined way, say additively?
I don't think there is anything pre-canned, but you should be able to just define a custom mean that picks out the right dimensions?