sgmcmc: Stochastic Gradient Markov Chain Monte Carlo

Provides functions that performs popular stochastic gradient Markov chain Monte Carlo (SGMCMC) methods on user specified models. The required gradients are automatically calculated using 'TensorFlow' <>, an efficient library for numerical computation. This means only the log likelihood and log prior functions need to be specified. The methods implemented include stochastic gradient Langevin dynamics (SGLD), stochastic gradient Hamiltonian Monte Carlo (SGHMC), stochastic gradient Nose-Hoover thermostat (SGNHT) and their respective control variate versions for increased efficiency.

Version: 0.1.0
Depends: R (≥ 3.0), tensorflow
Suggests: testthat, MASS, knitr, ggplot2, rmarkdown
Published: 2017-07-18
Author: Jack Baker [aut, cre, cph], Christopher Nemeth [aut, cph], Paul Fearnhead [aut, cph], Emily B. Fox [aut, cph], STOR-i [cph]
Maintainer: Jack Baker <j.baker1 at>
License: GPL-3
NeedsCompilation: no
SystemRequirements: TensorFlow (
Materials: README
CRAN checks: sgmcmc results


Reference manual: sgmcmc.pdf
Vignettes: Vignette Title
Vignette Title
Vignette Title
Vignette Title
Package source: sgmcmc_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: sgmcmc_0.1.0.tgz
OS X Mavericks binaries: r-oldrel: sgmcmc_0.1.0.tgz


Please use the canonical form to link to this page.