Skip to content

How does BoTorch internally handle dynamic changes of the search space? #2861

Answered by Balandat
1kastner asked this question in Q&A
Discussion options

You must be logged in to vote

When you say "BoTorchSampler", what exactly do you mean? The Optuna BoTorchSampler? I am not familiar with the implementation of that.

BoTorch itself, being a lower-level library, does not actually have the concept of a search space or a study. So from the point of view of BoTorch, this kind of thing would just mean that you define new bounds (or a set of new discrete inputs if you're doing discrete of mixed optimization), fit a new model and optimize the acquisition function on whatever that new domain is while including the data from the previous evaluations.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@1kastner
Comment options

Answer selected by 1kastner
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