[Bug] Inputs are not transformed when using GPyTorchModel.condition_on_observations
#2533
Labels
bug
Something isn't working
GPyTorchModel.condition_on_observations
#2533
🐛 Bug
The inputs
X
are not transformed by the model's input transform when runningGPyTorchModel.condition_on_observations(X, y)
. The outcomesY
, however, are transformed. This means that the new observations are not scaled correctly when added to the fantasy model'strain_inputs
tensor.To reproduce
Set up a model
Condition on some data
Condition on some data, but transform the inputs first
Expected Behavior
I would expect the conditioned inputs to be scaled using the
self.transform_inputs
, as is also happening when computing the posterior, before adding the new data to thetrain_inputs
.System information
Please complete the following information:
The text was updated successfully, but these errors were encountered: