Input and Output transfrom #1096
-
Hi, class SimpleCustomGP(ExactGP, GPyTorchModel):
My question relates to the normalization of the input samples (train_X) and the standardization of the output samples (train_Y). This procedure is recommended in the docs (https://botorch.org/docs/models). I know that Botorch internally perform the normalization and standardization for the predefined models like the SingleTaskGP (as far as I understood). class SimpleCustomGP(ExactGP, GPyTorchModel):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, great question. When using Ax, a lot of the work for normalizing inputs and standardizing outputs is actually done by Ax itself in the modelbridge layer, so you don't really have to do this again in BoTorch. In particular, the default Ax transforms for the By the way, that tutorial is a bit stale (we're working on updating it), you should check out the new "modular botorch model" setup that makes hooking new botorch models and acquisition functions into Ax a lot easier and more modular (rather than having to specify constructor callables): https://ax.dev/tutorials/modular_botax.html |
Beta Was this translation helpful? Give feedback.
Hi, great question. When using Ax, a lot of the work for normalizing inputs and standardizing outputs is actually done by Ax itself in the modelbridge layer, so you don't really have to do this again in BoTorch. In particular, the default Ax transforms for the
get_botorch
factory do includeUnitX
andStandardizeY
, which take care of this.By the way, that tutorial is a bit stale (we're working on updating it), you should check out the new "modular botorch model" setup that makes hooking new botorch models and acquisition functions into Ax a lot easier and more modular (rather than having to specify constructor callables): https://ax.dev/tutorials/modular_botax.html