jeremiecoullon / SGMCMCJax

Lightweight library of stochastic gradient MCMC algorithms written in JAX.
https://sgmcmcjax.readthedocs.io/en/latest/index.html
Apache License 2.0
95 stars 8 forks source link

add optax optimizer, and make examples directory #23

Closed murphyk closed 3 years ago

murphyk commented 3 years ago
murphyk commented 3 years ago

Related code: https://github.com/probml/pyprobml/blob/master/scripts/sgmcmc_utils.py https://github.com/probml/pyprobml/blob/master/scripts/sgmcmc_nuts_demo.py

jeremiecoullon commented 3 years ago

Thanks! I fixed the relative import error and also added those 2 extra scripts in the example directory