BayesOpt: A Bayesian optimization library

BayesOpt is an efficient implementation of the Bayesian optimization methodology for nonlinear-optimization, experimental design, stochastic bandits and hyperparameter tunning. In the literature it is also called Sequential Kriging Optimization (SKO), Sequential Model-Based Optimization (SMBO) or Efficient Global Optimization (EGO).

Bayesian optimization uses a distribution over functions to build a model of the unknown function for we are looking the extrema, and then apply some active learning strategy to select the query points that provides most potential interest or improvement. Thus, it is a sampling efficient method for nonlinear optimization, design of experiments or bandits-like problems.

Getting and installing BayesOpt

The library can be download from GitHub:

<https://github.com/rmcantin/bayesopt>

You can also get the cutting-edge version from the repository:

>> git clone https://github.com/rmcantin/bayesopt

The install guide and documentation for Windows, Linux and MacOS:

Using BayesOpt for academic or commercial purposes

BayesOpt is licensed under the AGPL and it is free to use. However, please consider these recomentations when using BayesOpt:

Ruben Martinez-Cantin, BayesOpt: A Bayesian Optimization Library for Nonlinear Optimization, Experimental Design and Bandits. Journal of Machine Learning Research, 15(Nov):3735–3739, 2014.

The paper can be found at http://jmlr.org/papers/v15/martinezcantin14a.html In addition, if you use a specific algorithm (REMBO, GP-Hedge, etc.), please also cite the corresponding work. The reference for each specific algorithm can be found in the documentation.

Getting involved

The best place to ask questions and discuss about BayesOpt is the bayesopt-discussion mailing list. Alternatively, you may directly contact Ruben Martinez-Cantin rmcantin@unizar.es.

Please file bug reports or suggestions at:


Copyright (C) 2011-2020 Ruben Martinez-Cantin rmcantin@unizar.es

BayesOpt is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

BayesOpt is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with BayesOpt. If not, see http://www.gnu.org/licenses/.