Coding: Bayesian Optimization from Scratch
Learn how to implement different components of Bayesian optimization from scratch.
Bayesian optimization is a model-based method for finding the minimum of a function that is expensive to evaluate. It involves constructing a probabilistic model for the function and then exploiting this model to determine where to sample next.
General steps of Bayesian optimization
The general steps to implement Bayesian optimization are:
Specifying a surrogate model (usually a GP).
Defining an acquisition function based on this model.
Iterating the following steps for a number of rounds:
Using the acquisition function to decide where to sample.
Updating the surrogate model incorporating the new sample.
Example of machine learning
In the realm of practical ...