levy-stable-jax


Namelevy-stable-jax JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/tjhunter/levy-stable-jax
SummaryImplementation of the Lévy alpha-stable distributions for Jax.
upload_time2024-05-28 08:26:37
maintainerNone
docs_urlNone
authorTim Hunter
requires_python<3.13,>=3.10
licenseApache 2.0
keywords levy stable jax probability statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tjhunter/levy-stable-jax",
    "name": "levy-stable-jax",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.10",
    "maintainer_email": null,
    "keywords": "levy, stable, jax, probability, statistics",
    "author": "Tim Hunter",
    "author_email": "tjhunter@cs.stanford.edu",
    "download_url": "https://files.pythonhosted.org/packages/ab/fa/bf84615a5c410b3b1e7ee5a53033162996bb30cec5801ada1963a8718a01/levy_stable_jax-0.2.1.tar.gz",
    "platform": null,
    "description": "# Levy-stable-jax\n\nImplementation of the L\u00e9vy-stable distributions for the Jax framework.\n\nThe L\u00e9vy-stable distribution is a generalization of the Normal, Cauchy and L\u00e9vy distributions. It enjoys many appealing properties, but it has no \nknown closed-form solutions.\n\nThis 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\u00e9vy-stable distributions in Bayesian inference \nframeworks such as `numpyro` or `PyMC`. \n\nThis implementation is optimized for speed and ease of use with Jax.\n It uses the scipy implementation as a reference.\n\n\nIt also includes various experimental methods for fitting L\u00e9vy-stable\ndistributions. These should be considered experimental, both in API and in\nfunctionality.\n\n## Current limitations\n\n- values of alpha are only supported in the range (1.01 - 2). This code may work\n  for lower values of alpha but it has not been tested.\n\n- only one parametrization (Nolan's N0 notation) is implemented. It is the more stable parametrization for numerical computations.\n\n## Commands (development only)\n\n\nSetting up the test environment\n\n```\npip install .[dev]\nmake lint\nmake test\npoetry build\npoetry publish\n\n```",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Implementation of the L\u00e9vy alpha-stable distributions for Jax.",
    "version": "0.2.1",
    "project_urls": {
        "Documentation": "https://levy-stable-jax.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/tjhunter/levy-stable-jax",
        "Repository": "https://github.com/tjhunter/levy-stable-jax"
    },
    "split_keywords": [
        "levy",
        " stable",
        " jax",
        " probability",
        " statistics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "daffd4458c4530ecbc556a1931f8c43ac3f68d35d03a5179c984a06f9e619bf8",
                "md5": "6ffb535829b4fde3b2b58295a9bddb31",
                "sha256": "010606c896e3b6f74ce358d9c37bf29d18ba41c774104f475ff143d3b6ce2a8d"
            },
            "downloads": -1,
            "filename": "levy_stable_jax-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6ffb535829b4fde3b2b58295a9bddb31",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.10",
            "size": 5242477,
            "upload_time": "2024-05-28T08:26:35",
            "upload_time_iso_8601": "2024-05-28T08:26:35.267224Z",
            "url": "https://files.pythonhosted.org/packages/da/ff/d4458c4530ecbc556a1931f8c43ac3f68d35d03a5179c984a06f9e619bf8/levy_stable_jax-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "abfabf84615a5c410b3b1e7ee5a53033162996bb30cec5801ada1963a8718a01",
                "md5": "3b580de0a0bf81271aea81e6092aa045",
                "sha256": "7ccc3c207917bbd665b593fcde586a8cb6b37f4b22f90db1b3a16af56eab79f7"
            },
            "downloads": -1,
            "filename": "levy_stable_jax-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3b580de0a0bf81271aea81e6092aa045",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.10",
            "size": 5242473,
            "upload_time": "2024-05-28T08:26:37",
            "upload_time_iso_8601": "2024-05-28T08:26:37.828697Z",
            "url": "https://files.pythonhosted.org/packages/ab/fa/bf84615a5c410b3b1e7ee5a53033162996bb30cec5801ada1963a8718a01/levy_stable_jax-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-28 08:26:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tjhunter",
    "github_project": "levy-stable-jax",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "levy-stable-jax"
}
        
Elapsed time: 0.26617s