Numpyro: Feature Request: Guidelines on implementing Sparse GP in Numpyro

Created on 27 Nov 2020  路  3Comments  路  Source: pyro-ppl/numpyro

Hi!

I would like to request some guidelines on how to implement SparseGP (with SVI) in Numpyro as already included in Pyro. Currently there is only a simple Gaussian Process implementation in Numpyro .

Thank you very much in advance :)

Examples good first issue

Most helpful comment

The Pyro module pyro.contrib.gp is pretty stable and there are already a couple of examples (deep kernel learning, gplvm) of doing SVI inference for sparse GP models in Pyro. I would like to extend the feature request for having an example of deep sparse GP in NumPyro, which isn't duplicated with the current examples on Pyro and illustrates how to use flax_module primitive. Please see the following references as a guideline for an implementation:

All 3 comments

The Pyro module pyro.contrib.gp is pretty stable and there are already a couple of examples (deep kernel learning, gplvm) of doing SVI inference for sparse GP models in Pyro. I would like to extend the feature request for having an example of deep sparse GP in NumPyro, which isn't duplicated with the current examples on Pyro and illustrates how to use flax_module primitive. Please see the following references as a guideline for an implementation:

Hi @LysSanzMoreta, I have an example of how one could do SparseGPs (the classic variational free energy version).

You can find the demo script here as well as the jupyter notebook here (colab-able). I tried to faithfully copy the pyro implementation. I hope it helps someone!

I'm currently working on the Stochastic Variational GP implementation (pyro) right now. But it's a bit more involved so it will take me some time.

@jejjohnson Thank you very much! I also made a little implementation in pyro ( I switch back and forth heheh), your example will be very useful to check if I am on the right track :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hyperfra picture hyperfra  路  5Comments

fehiepsi picture fehiepsi  路  6Comments

fehiepsi picture fehiepsi  路  3Comments

jeremiecoullon picture jeremiecoullon  路  4Comments

fehiepsi picture fehiepsi  路  6Comments