Hi Andrea,
If you are using the C++ interface you can run the optimization loop
step by step. You can check the loop at the BayesOptBase::optimize
method.
// Initialize a new state
initializeOptimization();
}
for (size_t ii = mCurrentIter; ii < mParameters.n_iterations; ++ii)
{
stepOptimization();
}
bestPoint = getFinalResult();
Then, you can interrupt it whenever you want. In C++
initializeOptimization, stepOptimization and getFinalResult are all
public. Sadly, those methods are not available from other languages.
I'm not very fond of using termination criteria within Bayesian
optimization, but if you find it useful and you are willing to submit
a pull request, I'll be happy to include it in BayesOpt as an option.
Best,
Rubén
> --
> You received this message because you are subscribed to the Google Groups
> "BayesOpt discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
bayesopt-discus...@googlegroups.com.
> To post to this group, send email to
bayesopt-...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/bayesopt-discussion.