Probability distribution interfaces, examples, and utilities for the Chainsail sampling service
Project description
Chainsail PDF interfaces and utilities
This small package complements the Chainsail sampling service. It
- defines the general interface for objects representing Chainsail-consumable probability distributions,
- provides implementations thereof for popular probabilistic programming languages,
- and contains a few helper scripts for post-processing.
Installation
$ pip install chainsail-helpers
If you'd like implement a probability density using Stan or PyMC3, install the corresponding extra dependencies like so: poetry install --extras pymc3
and similarly for stan
.
When using Chainsail, this package will be automatically installed, so no need to add it to the list of dependencies in the job submission form.
If you like to develop this package, best use Poetry:
$ poetry install
$ poetry shell
and you will be dropped into a virtual environment with all dependencies installed.
Contributing
Contributions, for example PDF implementations for other probabilistic programming languages, are highly welcome! Just open a pull request and we'll be happy to work with you to make Chainsail even more useful.
License
© 2021 Tweag. chainsail_helpers
is open-source software and licensed under the MIT license.
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 chainsail_helpers-0.1.5.1.tar.gz
.
File metadata
- Download URL: chainsail_helpers-0.1.5.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.9 Linux/5.15.86
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e69fa0ed98aa1e4024ac66fb2b212ad81bb0ca71792da029b49f45c73769dcd |
|
MD5 | 53cedc3d07dde91658bb91cb6242b822 |
|
BLAKE2b-256 | 0eea8a544c20d3c4882625834ce474abb68350df382a287d3615a1e018b76277 |
File details
Details for the file chainsail_helpers-0.1.5.1-py3-none-any.whl
.
File metadata
- Download URL: chainsail_helpers-0.1.5.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.9 Linux/5.15.86
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dbf68a94f072a092d5cef66fc0ba2bf3b9154f7ccd2f2dac9935185133aa729 |
|
MD5 | 5220a397d304a56a519e7819012e60f3 |
|
BLAKE2b-256 | ba2af887a984f80be4d72f233efd6a008b979f6d961e983c5a336d668d09d40b |