/BayesianOptimization

A Python implementation of global optimization with gaussian processes.

Primary LanguagePythonMIT LicenseMIT

Bayesian Optimization

Pure Python implementation of bayesian global optimization with gaussian processes.

pip install git+https://github.com/fmfn/BayesianOptimization.git

This is a constrained global optimization package built upon bayesian inference and gaussian process, that attempts to find the maximum value of an unknown function in as few iterations as possible. This technique is particularly suited for optimization of high cost functions, situations where the balance between exploration and exploitation is important.

Checkout this notebook with a step by step visualization of how this method works.

BayesianOptimization in action

Checkout the examples folder for more scripts with examples of how to use this package.

BayesianOptimization in action

Installation

Installation

BayesianOptimization is not currently available on the PyPi's reporitories, however you can install it via pip:

pip install git+https://github.com/fmfn/BayesianOptimization.git

If you prefer, you can clone it and run the setup.py file. Use the following commands to get a copy from Github and install all dependencies:

git clone https://github.com/fmfn/BayesianOptimization.git
cd BayesianOptimization
python setup.py install

Dependencies

  • Numpy
  • Scipy
  • Scikit-learn

Disclaimer: This project is under active development, if you find a bug, or anything that needs correction, please let me know.

References: