Giter Site home page Giter Site logo

gpflow's Introduction

GPflow

GPflow is a package for building Gaussian process models in python, using TensorFlow. It was originally created and is now managed by James Hensman and Alexander G. de G. Matthews. The full list of contributors (in alphabetical order) is Artem Artemev, Rasmus Bonnevie, Alexis Boukouvalas, Ivo Couckuyt, Keisuke Fujii, Zoubin Ghahramani, David J. Harris, James Hensman, Pablo Leon-Villagra, Daniel Marthaler, Alexander G. de G. Matthews, Tom Nickson, Valentine Svensson, Mark van der Wilk. GPflow is an open source project so if you feel you have some relevant skills and are interested in contributing then please do contact us.

Python3.5 Status Coverage Status Documentation Status

What does GPflow do?

GPflow implements modern Gaussian process inference for composable kernels and likelihoods. The online user manual (develop)/(master) contains more details. The interface follows on from GPy, and the docs have further discussion of the comparison.

GPflow uses TensorFlow for running computations, which allows fast execution on GPUs, and uses Python 3.5 or above.

Install

1) Quick install

GPflow can be installed by cloning the repository and running

pip install .

in the root folder. This also installs required dependencies including TensorFlow. When GPU support is needed, a manual installation of TensorFlow is recommended (next section), as one cannot rely on pip to get this running.

2) Alternative method

A different option to install GPflow requires installation of TensorFlow first. Please see instructions on the main TensorFlow webpage. You will need at least version 1.6 (we aim to support the latest version). We find that for most users pip installation is the fastest way to get going. Then, for those interested in modifying the source of GPflow, we recommend

python setup.py develop

but installation should work well too:

python setup.py install

You can run the tests with python setup.py test.

We document the version history.

Docker image

We also provide a Docker image which can be run using

docker run -it -p 8888:8888 gpflow/gpflow

The image can be generated using our Dockerfile.

Getting help

Please use GitHub issues to start discussion on the use of GPflow. Tagging enquiries discussion helps us distinguish them from bugs.

Contributing

All constructive input is gratefully received. For more information, see the notes for contributors.

Compatibility

GPflow heavily depends on TensorFlow and as far as TensorFlow supports forward compatibility, GPflow should as well. The version of GPflow can give you a hint about backward compatibility. If the major version has changed then you need to check the release notes to find out how the API has been changed.

Unfortunately, there is no such thing as backward compatibility for GPflow models, which means that a model implementation can change without changing interfaces. In other words, the TensorFlow graph can be different for the same models from different versions of GPflow.

Projects using GPflow

A few projects building on GPflow and demonstrating its usage are listed below.

Project Description
GPflowOpt Bayesian Optimization using GPflow.
VFF Variational Fourier Features for Gaussian Processes.
Doubly-Stochastic-DGP Deep Gaussian Processes with Doubly Stochastic Variational Inference.
BranchedGP Gaussian processes with branching kernels.
heterogp Heteroscedastic noise for sparse variational GP.
widedeepnetworks Measuring the relationship between random wide deep neural networks and GPs.
orth_decoupled_var_gps Variationally sparse GPs with orthogonally decoupled bases

Let us know if you would like your project listed here.

Citing GPflow

To cite GPflow, please reference the JMLR paper. Sample Bibtex is given below:

@ARTICLE{GPflow2017,
   author = {Matthews, Alexander G. de G. and {van der Wilk}, Mark and Nickson, Tom and
	Fujii, Keisuke. and {Boukouvalas}, Alexis and {Le{\'o}n-Villagr{\'a}}, Pablo and
	Ghahramani, Zoubin and Hensman, James},
    title = "{{GP}flow: A {G}aussian process library using {T}ensor{F}low}",
  journal = {Journal of Machine Learning Research},
  year    = {2017},
  month = {apr},
  volume  = {18},
  number  = {40},
  pages   = {1-6},
  url     = {http://jmlr.org/papers/v18/16-537.html}
}

gpflow's People

Contributors

jameshensman avatar awav avatar alexggmatthews avatar st-- avatar hughsalimbeni avatar alexisboukouvalas avatar mrksr avatar bonnevie avatar fujiisoup avatar vdutor avatar ialong avatar javdrher avatar rhaps0dy avatar ahsimb avatar dtpc avatar stefanosele avatar icouckuy avatar vals avatar joshuaalbert avatar vincentadam87 avatar a5a avatar dlqudwns avatar davidsheldon avatar dustinvtran avatar gdkrmr avatar john-bradshaw avatar jmxpearson avatar nrontsis avatar jch5f avatar mathdr avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.