Skip to main content

Probability package supporting multiple Bayesian methods including MCMC

Project description

# probayes Probability package supporting multiple Bayesian methods including MCMC

Unlike existing libraries, probayes adopts a model-driven approach with full flexibility constrained only by the rules of probability. Since probayes is its infancy and in a state of flux, there is no manual. Currently probayes supports the following:

  1. Multiple random variable sampling in untransformed and transformed domain space.

  2. Transitional simulation, including random walks, using Markov chain conditionals.

  3. Discrete grid exact inference.

  4. Ordinary Monte Carlo random sampling.

  5. Ordinary Monte Carlo rejection sampling.

  6. Metropolis-Hastings MCMC sampling.

  7. Limited support for multivariate normal-covariance Gibbs sampling.

In the near-future, it is intended to expand the scope of probayes to include:

  1. Code initial support for approximate inference using using dense mean field messaging.

  2. Support derivative-based updates (HMC, gradient ascent/descent optimisation).

A quickstart is also intended, but for now there are examples in the examples/ subdirectories:

  1. checks/ Simple check scripts

  2. rv_examples/ Random variable examples

  3. markov/ Markov chain examples

  4. cov_examples/ Examples of using covariance matrices

  5. dgei/ Discrete grid exact inference examples

  6. omc/ Ordinary Monte-Carlo examples

  7. mcmc/ Markov chain Monte Carlo examples (Metropolis-Hastings, Gibbs…)

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

probayes-0.0.8.tar.gz (83.5 kB view details)

Uploaded Source

File details

Details for the file probayes-0.0.8.tar.gz.

File metadata

  • Download URL: probayes-0.0.8.tar.gz
  • Upload date:
  • Size: 83.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for probayes-0.0.8.tar.gz
Algorithm Hash digest
SHA256 4a5717d71f16f29b900279ccf918080f7a612aea0891065e19541c4eb62c3aaf
MD5 e3f26d21e6cea165a968a64c39648124
BLAKE2b-256 750ab23c769b0a486495ea7f0cb09b4dbdbc6b4d05ecc5bf82542519943dc227

See more details on using hashes here.

Supported by

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