Installation

Osprey is written in Python, and can be installed with standard python machinery

Development Version

# grab the latest version from github
$ pip install git+git://github.com/pandegroup/osprey.git
# or clone the repo yourself and run `setup.py`
$ git clone https://github.com/pandegroup/osprey.git
$ cd osprey && python setup.py install

Release Version

Currently, we recommend that you use the development version, since things are moving fast. However, release versions from PyPI can be installed using pip.

# grab the release version from PyPI
$ pip install osprey

Dependencies

  • six
  • pyyaml
  • numpy
  • scikit-learn
  • sqlalchemy
  • hyperopt (recommended, required for engine=hyperopt_tpe)
  • GPy (recommended, required for engine=gp)
  • scipy (optional, for testing)
  • nose (optional, for testing)

You can grab most of them with conda.

$ conda install six pyyaml numpy scikit-learn sqlalchemy nose

Hyperopt can be installed with pip.

$ pip install hyperopt

Getting GPy

To run the gaussian process (gp) search strategy, osprey uses GPy

To use gp search, you must install GPy on the machines you use to run osprey. For easy installation, use the conda binary packages that we’ve compiled.

conda install -c omnia gp