Skip to content

Random Restarts for Botorch GP models #1717

Answered by saitcakmak
huylenguyen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @huylenguyen. We do no have this exposed out of the box. However, our default model fitting function (fit_gpytorch_mll) has a random restart approach that is used to handle any errors that may get raised during model fitting. The logic for this is here. If you wanted to do random restarts and pick the best, you could modify that to record the result of each fitting attempt -- rather than returning the first time model fitting succeeds -- and pick the best model afterwards.

Replies: 1 comment 1 reply

Comment options

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

Balandat Mar 4, 2023
Collaborator

Answer selected by huylenguyen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants