A Tutorial on Bayesian Optimization

Here is a link to source code that can be executed locally.