Skip to content

RuntimeWarning: Fitting failed on all retries. warnings.warn("Fitting failed on all retries.", RuntimeWarning) #1235

Answered by Balandat
LiuYang-1997 asked this question in Q&A
Discussion options

You must be logged in to vote

When we fit the surrogate models (i.e. optimize the MLL of the model), it is not unusual to run into numerical problems (typically due to ill-conditioned kernel matrices that can be caused by challenging training data in conjunction with the initial conditions of the hyperpriors on the parameters). If that's the case we usually re-sample starting points from the hyperpriors and retry the optimization. If that repeatedly fails this can indeed be a sign that the surrogate models are of poor quality, which will likely negatively impact the optimization performance.

Can you provide some more detail on the problems setup, and ideally share a reproducible example? There are a few things to cons…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LiuYang-1997
Comment options

@Balandat
Comment options

@LiuYang-1997
Comment options

@LiuYang-1997
Comment options

Answer selected by saitcakmak
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