Skip to main content

Bayesian Conjugate Gibbs Sampler

Project description

PyPi BSD-3

Bayesian Conjugate Gibbs Sampler (BCGS)

Lightweight, pure-Python conjugate sampling

BCGS is an implementation of Markov chain monte carlo using conjugate Gibbs sampling for performing Bayesian inference. Compared to software like JAGS and BUGS, BCGS is extremely crude and limited. It exists mainly for pedagogical purposes. It may also be a convenient solution for simple inference problems, as it is written in pure Python, with no dependences beyond numpy and scipy, and requires no special installation.

Installation

Either pip install bcgs or just download the source bcgs/bcgs.py file from the repository.

Documentation

See the associated github.io page. The notebook from which it is generated can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bcgs-0.2.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

bcgs-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file bcgs-0.2.0.tar.gz.

File metadata

  • Download URL: bcgs-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.8

File hashes

Hashes for bcgs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3917e457a3da3ceb3437d50b079403e3bdce0c5a7e1590653b82374468feb117
MD5 b568cd68aa1b929699c70fd7c8d66056
BLAKE2b-256 dcf585589692ba6e3cd994da4c4268fb739818f73acf0dc9259e194dd6d94b9a

See more details on using hashes here.

File details

Details for the file bcgs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bcgs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.8

File hashes

Hashes for bcgs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c4fa093940614330d22ab0dbb6e5d0bb2eec5bd2f1daa6e024e66953f3ffdb4
MD5 1e1a56488a2e7b9b6555b22921ada570
BLAKE2b-256 2fb9666adff504c0174bf962e8f3c9cd46af4252a9b854f4658e63c6e8de98f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page