Levy-stable-jax
Implementation of the Lévy-stable distributions for the Jax framework.
The Lévy-stable distribution is a generalization of the Normal, Cauchy and Lévy distributions. It enjoys many appealing properties, but it has no known closed-form solutions.
This package provides an implementation using the Jax framework. With this package, you can use this distribution with all AI frameworks based on Jax. In particular, you can use Lévy-stable distributions in Bayesian inference
frameworks such as numpyro or PyMC.
This implementation is optimized for speed and ease of use with Jax. It uses the scipy implementation as a reference.
It also includes various experimental methods for fitting Lévy-stable distributions. These should be considered experimental, both in API and in functionality.
Current limitations
-
values of alpha are only supported in the range (1.01 - 2). This code may work for lower values of alpha but it has not been tested.
-
only one parametrization (Nolan's N0 notation) is implemented. It is the more stable parametrization for numerical computations.
Commands (development only)
Setting up the test environment
pip install .[dev]
make lint
make test
poetry build
poetry publish
Metadata
Release files for levy-stable-jax 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| levy_stable_jax-0.2.1.tar.gz | 5.2 MB | Without provenance | Details for levy_stable_jax-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| levy_stable_jax-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for levy_stable_jax-0.2.1-py3-none-any.whl |
Total release size: 10.5 MB
Release files / levy_stable_jax-0.2.1.tar.gz
| Download URL | levy_stable_jax-0.2.1.tar.gz |
|---|---|
| Size | 5.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ccc3c207917bbd665b593fcde586a8cb6b37f4b22f90db1b3a16af56eab79f7
|
|
BLAKE2b-256 checksum How to use checksums |
abfabf84615a5c410b3b1e7ee5a53033162996bb30cec5801ada1963a8718a01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic
|
Release files / levy_stable_jax-0.2.1-py3-none-any.whl
| Download URL | levy_stable_jax-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
010606c896e3b6f74ce358d9c37bf29d18ba41c774104f475ff143d3b6ce2a8d
|
|
BLAKE2b-256 checksum How to use checksums |
daffd4458c4530ecbc556a1931f8c43ac3f68d35d03a5179c984a06f9e619bf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic
|
Security for levy-stable-jax 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.