Skip to content

PyTorch-based library for Riemannian Manifold Hamiltonian Monte Carlo (RMHMC)

License

Notifications You must be signed in to change notification settings

shartzog/hamiltorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hamiltorch Build Status

PyTorch-based library for Riemannian Manifold Hamiltonian Monte Carlo (RMHMC)

  • Perform HMC in user-defined log probabilities and in PyTorch neural networks (objects inheriting from the torch.nn.Module).
  • Available sampling schemes:
    • HMC
    • No-U-Turn Sampler
    • Implicit RMHMC
    • Explicit RMHMC

How to install

pip install git+https://github.com/AdamCobb/hamiltorch

How does it work?

Please refer to my blog post, or follow the notebook-style tutorials.

How to cite?

Please consider citing the following paper if you use hamiltorch in your research:

@article{cobb2019introducing,
  title={Introducing an Explicit Symplectic Integration Scheme for Riemannian Manifold Hamiltonian Monte Carlo},
  author={Cobb, Adam D and Baydin, At{\i}l{\i}m G{\"u}ne{\c{s}} and Markham, Andrew and Roberts, Stephen J},
  journal={arXiv preprint arXiv:1910.06243},
  year={2019}
}

Who developed hamiltorch?

Adam D Cobb

Atılım Güneş Baydin

About

PyTorch-based library for Riemannian Manifold Hamiltonian Monte Carlo (RMHMC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.7%
  • Python 3.3%