Bayesian Optimization From Scratch