This code shows a visualization of each iteration in Bayesian Optimization. MATLAB's fitrgp is used to fit the Gaussian process surrogate model, then the next sample is chosen using the Expected Improvement acquisition function. An exploitation-exploration parameter can be changed in the code. The code contains both 1D and 2D "black-box" functions for optimization.
References:
[1] Rasmussen and Williams (2006). "Gaussian Processes for Machine Learning," MIT Press.
[2] Frazier (2018). https://arxiv.org/abs/1807.02811
[3] Snoek (2012). https://arxiv.org/pdf/1206.2944.pdf
引用格式
Karl Ezra Pilario (2024). Tutorial: Bayesian Optimization (https://www.mathworks.com/matlabcentral/fileexchange/114950-tutorial-bayesian-optimization), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |