You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Karl Ezra Pilario (2026). Tutorial: Bayesian Optimization (https://nl.mathworks.com/matlabcentral/fileexchange/114950-tutorial-bayesian-optimization), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (4.02 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
