Duplicate points evaluated in Bayesian Optimization
Ältere Kommentare anzeigen
I'm using Bayesian Optimization to solve a problem where each input variable can be either 0 or 1, and I also set 'IsObjectiveDeterministic' to be true and 'UseParallel' to be false for bayesopt. However, I found that there are duplicate points in results.XTrace. Is this possible?
Akzeptierte Antwort
Weitere Antworten (2)
Alan Weiss
am 26 Aug. 2019
0 Stimmen
As you can see from the algorithm description, there is nothing that prevents multiple evaluations of the same points. So it is not only possible, but expected behavior. I know that it seems wasteful. Sorry.
Alan Weiss
MATLAB mathematical toolbox documentation
1 Kommentar
Jin Yan
am 26 Aug. 2019
Sean de Wolski
am 26 Aug. 2019
0 Stimmen
You may want to look at the memoize function to cache the initial call so subsequent ones can just use the cached value.
Kategorien
Mehr zu Model Building and Assessment finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!