Library for jax based affine-invariant MCMC sampling
Project description
# jammer
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
A jax based affine-invariant MCMC hammer that can leverage GPUs to speed up sampling for computationally intensive likelihoods. It implements the [Goodman-Weare](https://msp.org/camcos/2010/5-1/p04.xhtml) algorithm as described in [dfm++](https://arxiv.org/abs/1202.3665) and is inspired by the popular [emcee](https://github.com/dfm/emcee) library. The just-in-time compilation together with vectorized likelihood evaluation for the walkers gives significant speed-up even on CPUs when compared to emcee
## Installation
To install jammer, please clone this repository and then run python setup.py install inside it You can also install this via pip using ` pip install jammer ` To run it on a GPU, you must have an installation of jaxlib compatible with your CUDA version. For more information, please refer to the official [guidelines](https://github.com/google/jax#installation)
The API for jammer is slightly different from emcee. This might change in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jammer-0.1.tar.gz
.
File metadata
- Download URL: jammer-0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d656270318c8bca24d31cb377a11eebfd4bb2eaa48b48957101e9e8dcaf9156 |
|
MD5 | c8aa42b210ac2e6d581e192d342adff3 |
|
BLAKE2b-256 | d1469c0791aee0f6b09bffa7486798a1423c13936b1dd64af80f98c5676bffde |
File details
Details for the file jammer-0.1-py3-none-any.whl
.
File metadata
- Download URL: jammer-0.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42117ce76c509b927d0e7b2d39a72fb9cffe9d927e1f8967372531edf3f4a6d7 |
|
MD5 | cf8e27931f40db9f2febf50e704e5a6e |
|
BLAKE2b-256 | 94864d6ef6cd916536900dfa6065ef2372233a63775c2091523cabf9af2a303c |