levy-stable-jax


Namelevy-stable-jax JSON
Version 0.2.0 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-08 15:40:11
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/b5/ae/7660c09b5620b1fa20f682179005a49493776c1755985e2e4f285f7e3783/levy_stable_jax-0.2.0.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.0",
    "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": "93c9b013a54ee7eb3c41eb63cdc3bebf0a7f537d61f44ac3ad5a9a9506e30e87",
                "md5": "53660d0d6c4b515763405bf131f81b69",
                "sha256": "eb94d3ec1d3077277ae347be1eba351aa912fc5606d4988c7857b9b65bf7141d"
            },
            "downloads": -1,
            "filename": "levy_stable_jax-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "53660d0d6c4b515763405bf131f81b69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.10",
            "size": 5242170,
            "upload_time": "2024-05-08T15:40:08",
            "upload_time_iso_8601": "2024-05-08T15:40:08.110076Z",
            "url": "https://files.pythonhosted.org/packages/93/c9/b013a54ee7eb3c41eb63cdc3bebf0a7f537d61f44ac3ad5a9a9506e30e87/levy_stable_jax-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5ae7660c09b5620b1fa20f682179005a49493776c1755985e2e4f285f7e3783",
                "md5": "b50cbd43087d0c567667edeaebb18ac5",
                "sha256": "b36e5f9fe6b917c09864506fbb47d07ad6b67d5384807d162553cb99faf3cf2c"
            },
            "downloads": -1,
            "filename": "levy_stable_jax-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b50cbd43087d0c567667edeaebb18ac5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.10",
            "size": 5242177,
            "upload_time": "2024-05-08T15:40:11",
            "upload_time_iso_8601": "2024-05-08T15:40:11.370770Z",
            "url": "https://files.pythonhosted.org/packages/b5/ae/7660c09b5620b1fa20f682179005a49493776c1755985e2e4f285f7e3783/levy_stable_jax-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-08 15:40:11",
    "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.24533s