Skip to content
Discussion options

You must be logged in to vote

Sorry about the late response here. What is the strange behavior that your sampler exhibits?

One thing to note is that SingleTaskGP by default applies a Standardize outcome transform (https://github.com/pytorch/botorch/blob/e7fef3bfa235b468af7ad43a3bd38aa690a161f9/botorch/models/gp_regression.py#L147-L153), so model(train_x) returns the posterior distribution in the transformed rather than the original space.

You can either use model.posterior(train_x) to compute the posterior in the untransformed space, or you can construct the model without a Standardize transform by setting outcome_transform=None when instantiating the SingleTaskGP object.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MatthewCulbert343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants