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.7.tar.gz (83.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: probayes-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 da8718845f9e945f58c5ab03264462698f97eccf445d54ec993b695fd7d2881e
MD5 13da1c40de314147776b99e1c1ada75c
BLAKE2b-256 feb394414734648257eac45963744a929eab6703e4b03ee15830e8a7dcbc357b

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