Duplicate points evaluated in Bayesian Optimization
古いコメントを表示
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?
採用された回答
その他の回答 (2 件)
Alan Weiss
2019 年 8 月 26 日
0 投票
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
Sean de Wolski
2019 年 8 月 26 日
0 投票
You may want to look at the memoize function to cache the initial call so subsequent ones can just use the cached value.
カテゴリ
ヘルプ センター および File Exchange で Model Building and Assessment についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!