Skip to content

A Python implementation of global optimization with gaussian processes.

License

Notifications You must be signed in to change notification settings

gmisy/BayesianOptimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

To get a grip of how this method and package works in the examples folder you can:

  • Checkout this notebook with a step by step visualization of how this method works.
  • Go over this script to become familiar with this packages basic functionalities.
  • Explore this notebook exemplifying the balance between exploration and exploitation and how to control it.
  • Checkout these scripts (sklearn, xgboost) for examples of how to use this package to tune parameters of ML estimators using cross validation and bayesian optimization

BayesianOptimization in action

BayesianOptimization in action

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

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

References:

About

A Python implementation of global optimization with gaussian processes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%