RuntimeWarning: Fitting failed on all retries. warnings.warn("Fitting failed on all retries.", RuntimeWarning) #1235
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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 consider here - are you normalizing / standardizing your input data (the priors we have work best with data in the unit hypercube and outcomes that are zero mean unit variance)? Which model are you using? Are you inferring the noise level or providing noise observations? |
Beta Was this translation helpful? Give feedback.
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…