This folder contains an example of how to iteratively employ the surrogate surface simulation in a Bayesian optimization protocol to find the most catalyst composition given a specified activity expression.
Running bayes_opt.py will initially sample a few randomly selected alloy compositions as input to a Gaussian Process Regression (GPR) algorithm to fit a surrogate function. In conjunction with the Expected Improvement (EI) acquisition function the next alloy composition to sample as a surrogate surface is selected. This protocol is described in detail in Pedersen et al. Angew. Chem. 2021.
There is a few adjustable parameters such as the
random_comp(elements, max=1.0)