harwiltz / svgd

Implementation of Stein Variational Gradient Descent in JAX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svgd

Implementation of Stein Variational Gradient Descent:

@misc{liu2019stein,
  title = {Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithm},
  author = {Qiang Liu and Dilin Wang},
  year = {2019},
  eprint = {1608.04471},
  archivePrefix = {arXiv},
  primaryClass = {stat.ML},
}

Example

To visualize the dynamics of the particles, you can run

$ PYTHONPATH=. python svgd/examples/testbed.py

Below is an example snapshot of the particles after they've converged.

About

Implementation of Stein Variational Gradient Descent in JAX


Languages

Language:Python 100.0%