Library for jax based affine-invariant MCMC sampling
Project description
jaims
A jax based affine-invariant MCMC sampler that can leverage GPUs to speed up sampling for computationally intensive likelihoods. It implements the Goodman-Weare algorithm as described in dfm++ and is inspired by the popular 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 jaims, please clone this repository and then run python setup.py install inside it
You can also install this via pip using
pip install jaims
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
The API for jaims 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jaims-0.0.1.tar.gz.
File metadata
- Download URL: jaims-0.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 |
e2c664bf08164eabbb9d9d8dc1beaac50035180945e05f897bbc3daaecf63d23
|
|
| MD5 |
01eecc8e708d257d0036226c744f84bf
|
|
| BLAKE2b-256 |
c1f0f3d478cb6d28f346a7a204e16f0ad223085d866284ec7cb76b7e0f44cc5e
|
File details
Details for the file jaims-0.0.1-py3-none-any.whl.
File metadata
- Download URL: jaims-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 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 |
30d9eaa5fbe4b7936c4cb24740c3283e5036097b6e351d2a68196f52616eb269
|
|
| MD5 |
95b4cc085ab1978646d2e2746e837aab
|
|
| BLAKE2b-256 |
4ec57e347b71ecb622b963ac0040d68e75492e5df88ae63cebd1305453c4ab7c
|