Coder Social home page Coder Social logo

gpflow's Introduction

CircleCI Coverage Status Documentation Status

Website | Documentation (develop/v2.0) | Documentation (v1.5) | Glossary

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 Alessandro Davide Ialongo, Alexander G. de G. Matthews, Alexis Boukouvalas, Artem Artemev, Daniel Marthaler, David J . Harris, Eric Hambro, Hugh Salimbeni, Ivo Couckuyt, James Hensman, Keisuke Fujii, Mark van der Wilk, Mikhail Beck, Pablo Leon -Villagra, Rasmus Bonnevie, Sergio Pascual-Diaz, ST John, Tom Nickson, Valentine Svensson, Vincent Dutordoir, Zoubin Ghahramani. 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.

What does GPflow do?

GPflow implements modern Gaussian process inference for composable kernels and likelihoods. The online documentation (develop)/(master) contains more details.

GPflow 2.0 uses TensorFlow 2.0 for running computations, which allows fast execution on GPUs, and uses Python โ‰ฅ 3.6.

Install GPflow 2

  • From source

    With the release of TensorFlow 2.1 and Tensorflow Probability 0.9, you should only need to run

    pip install -e .

    in a check-out of the develop branch of the GPflow github repository.

  • Using pip:

    • latest develop version:

      pip install git+https://github.com/GPflow/GPflow.git@develop#egg=gpflow

      (this will automatically install all required dependencies).

    • latest PyPI package: currently not recommended (the latest version released on PyPI is 2.0.0rc1; this release candidate is missing several bugfixes and improvements, and does not support TensorFlow 2.1) but you can install it as follows:

      pip install gpflow==2.0.0rc1 tensorflow==2.0 tensorflow_probability==0.8

      (replace tensorflow==2.0 with tensorflow-gpu==2.0 for the GPU version)

Install GPflow 1.5.1 (last official release)

Using pip:

pip install 'gpflow<2.0' 'tensorflow<2.0'

GPflow leaves installing tensorflow to the user so that you can choose whether you want the CPU-only or the GPU-support package. Replace tensorflow<2.0 with tensorflow-gpu<2.0 for the GPU version.

Getting Started with GPflow 2.0

There is an "Intro to GPflow 2.0" Jupyter notebook; check it out for details. To convert your code from GPflow 1 check the GPflow 2 upgrade guide.

  • GPflow 1.0

    We have stopped development and support for GPflow based on TensorFlow 1.0. We now accept only bug fixes to GPflow 1.0 in the develop-1.0 branch. The latest available release is v1.5.1. Documentation and tutorials will remain available.

The GPflow Community

Getting help

Bugs, feature requests, pain points: Please use GitHub issues to flag up bugs/issues/pain points, suggest new features, and discuss anything else related to the use of GPflow that in some sense involves changing the GPflow code itself. Please make use of the labels such as bug, discussion, feature, etc.

We aim to respond to issues promptly, but if you believe we may have forgotten about an issue, please feel free to add another comment to remind us.

How-to-use questions: Please use StackOverflow (gpflow tag) to ask questions that relate to "how to use GPflow", i.e. questions of understanding rather than issues that require changing GPflow code.

Slack workspace

We have a public GPflow slack workspace. Please use this invite link if you'd like to join, whether to ask short informal questions or to be involved in the discussion and future development of GPflow.

Contributing

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

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
kernel_learning Implementation of "Differentiable Compositional Kernel Learning for Gaussian Processes".
VBPP Implementation of "Variational Bayes for Point Processes".
DGPs_with_IWVI Deep Gaussian Processes with Importance-Weighted Variational Inference

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

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.

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 alexisboukouvalas avatar hughsalimbeni avatar mrksr avatar vdutor avatar bonnevie avatar fujiisoup avatar cdmatters avatar ialong avatar javdrher avatar jahall avatar rhaps0dy avatar dtpc avatar stefanosele avatar icouckuy avatar ahsimb avatar vals avatar fleibfried avatar tadejkrivec avatar mathdr avatar jordigraumo avatar jch5f avatar akhayes avatar thevincentadam avatar nrontsis avatar nicolasdurrande avatar nfergu 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.