Skip to main content

Surjection layers for density estimation with normalizing flows

Project description

surjectors

status ci

Surjection layers for density estimation with normalizing flows

About

Surjectors is a light-weight library of inference and generative surjection layers, i.e., layers that reduce or increase dimensionality, for density estimation using normalizing flows. Surjectors builds on Distrax and Haiku and is fully compatible with both of them.

Examples

You can find several self-contained examples on how to use the algorithms in examples.

Installation

Make sure to have a working JAX installation. Depending whether you want to use CPU/GPU/TPU, please follow these instructions.

You can install

To install the latest GitHub , just call the following on the command line:

pip install git+https://github.com/dirmeier/surjectors@<RELEASE>

Author

Simon Dirmeier sfyrbnd @ pm me

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

surjectors-0.2.3.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

surjectors-0.2.3-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file surjectors-0.2.3.tar.gz.

File metadata

  • Download URL: surjectors-0.2.3.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for surjectors-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a625f06077917d8c18e389b2e3a794bb23ea785ed4c9038570f104a944d52537
MD5 f629a8dc5ada2eb12ffe17063724dd3f
BLAKE2b-256 55410183e4b007a9f6059ae9d2a681c9327bb00af969d12bec6d3c19fdf9cb79

See more details on using hashes here.

Provenance

File details

Details for the file surjectors-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: surjectors-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for surjectors-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 778a0ec223793baea1128a15998c035d7bfad71be75c4fd92f63fa0370c8da12
MD5 35b6242160859a55a1ba8e085963b422
BLAKE2b-256 f96a74beb88ad6acf6af276ce04c9f1249b2e885c34756c1a15c461e900c829b

See more details on using hashes here.

Provenance

Supported by

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