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).
  • 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.1.tar.gz (691.4 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.1-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bayinx-0.6.1.tar.gz
  • Upload date:
  • Size: 691.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.1.tar.gz
Algorithm Hash digest
SHA256 0dfd7ee74ee846e66c3acaffabe57876dd8a5877593046c9fe7937e2d8d36257
MD5 c22a1716e4062a1355956fd0f77036d7
BLAKE2b-256 74a646a599f2941850398af42650807c71082269eb019ca7f2356daaf0df6869

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bayinx-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 213a4eb3aa7087a05f61535d65775223d72411c9d8f38b748274b3315c02869b
MD5 520151732b3f0d00360609b2dc957ea9
BLAKE2b-256 07a0ac5783f6c9fe08379106606f885c2dc2671f7e510508d3853c5aa0a45586

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