Skip to main content

Bayesian Inference with JAX

Project description

Bayinx: Bayesian Inference with JAX

Bayinx is an embedded probabilistic programming language in Python, powered by JAX. It is heavily inspired by and aims to have feature parity with Stan, but extends the types of objects you can work with and focuses on normalizing flows variational inference for sampling.

Roadmap

  • Allow shape definitions to include expressions (e.g., shape = 'n_obs + 1' will evaluate to the correct specification)
  • Find a nice way to track the ELBO trajectory to implement early stoppage (tolerance currently does nothing).
  • Allow users to specify custom tolerance criteria.
  • Nodes carry bounds for their support (i.e., node.obj ∈ [node._lb, node._ub]) which are used to check if inputs to distributions are valid (e.g., a node inputted as the scale of a normal dist must have node._lb >= 0)

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

bayinx-0.6.0.tar.gz (739.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bayinx-0.6.0-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file bayinx-0.6.0.tar.gz.

File metadata

  • Download URL: bayinx-0.6.0.tar.gz
  • Upload date:
  • Size: 739.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bayinx-0.6.0.tar.gz
Algorithm Hash digest
SHA256 14570bd19c6f890778a549f27e460ff9b20755100f70c5f157af572985184fab
MD5 36fb1e628823db089545804a30b12920
BLAKE2b-256 7e5913975a1dd4421ca86f27a61b4ef7b7e794b26e03ea2b62f9cdf42506cf09

See more details on using hashes here.

File details

Details for the file bayinx-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: bayinx-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bayinx-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3057cbcb2eba8129fa633a85d506be9700434f1df3ffc506f54e48d6930febd
MD5 d858d637057f0057df8a1b696dad1945
BLAKE2b-256 5f16cfa1f98c3f5fb2c9406b198f5b8e8e67f6583a6e80954660728f42d4ea45

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