Skip to main content

Jax library for probabilistic computations

Project description

Probjax

Probabilistic computation in JAX. This library is under active development and is not yet ready for use. It aims to provide a simple and flexible way to build probabilistic models and perform inference in then. It provides the following set of tools:

  • Core: A set of core function transformations and primitives useful for building probabilistic models.
    • Traceing: Tracing and manipulation of function traces. (Very incomplete)
    • Automatic inversion: Automatic inversion of functions. (Rather complete, with some limitations)
    • Automatic log_prob: Automatic computation of log-probabilities (Rather incomplete). Automatic computation of log-probabilities of transformed distributions (Rather complete, through automatic inversion and logdet).
  • Distributions: A set of distributions with support for sampling, log-probability and more.
  • Inference: Some inference algorithms. (incomplete)
  • Neural networks: Some neural network layers and models. Based on Haiku. Here a classical layers as Transformers, Resnets or U-Nets. But also specialised layers for normalising flows, such as coupling layers, autoregressive layers, etc. (complete)
  • Utilities: Some utilities for numerical computation i.e. odeint, sdeint, etc. (complete)

Installation

Probjax can be installed using pip:

pip install -e probjax

Additionally, you can install benchmark scripts using:

pip install -e probjax/scoresbibm

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

probjax-0.1.0.tar.gz (117.2 kB view details)

Uploaded Source

Built Distribution

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

probjax-0.1.0-py3-none-any.whl (152.2 kB view details)

Uploaded Python 3

File details

Details for the file probjax-0.1.0.tar.gz.

File metadata

  • Download URL: probjax-0.1.0.tar.gz
  • Upload date:
  • Size: 117.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for probjax-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ae99d53894e0288f51c162031a7095e46dbafbdc0baef05d27ac22a070b90c9
MD5 e6185bbaa74a27023c3797f365f3e8a3
BLAKE2b-256 37562c55b9f006fb25098a591158d3ba2ca485efefb0a065107975ece1f60d47

See more details on using hashes here.

File details

Details for the file probjax-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: probjax-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 152.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for probjax-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae43839f886aae73a2e44a2d79f9009d4f37e4b49f47fa484325e243ed2ed5e5
MD5 a041d4445f544595ff7fd3fb0f0b30b7
BLAKE2b-256 82768d2741f656db182b1a0545b5fc2a8338d953bfcaa4225b524211c9dfd478

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