mewtax


Namemewtax JSON
Version 0.0.0 PyPI version JSON
download
home_page
SummaryDifferentiable minimization in jax using Newton's method.
upload_time2024-02-18 17:19:28
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2024 Martin F. Schubert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords jax differentiable optimization metalearning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Differentiable minimization in jax using Newton's method
`v0.0.0`

This project essentially repackages code from the [implicit layers tutorial](https://implicit-layers-tutorial.org/implicit_functions/) to provide a `minimize_newton` function.

Given a function `fn(params, z)`, it finds the `z_star` which minimizes `fn` for given `params`. Further, the gradient of the solution with respect to `params` can be computed; this is done using a custom vjp rule, as shown in the tutorial.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mewtax",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Martin Schubert <mfschubert@gmail.com>",
    "keywords": "jax,differentiable optimization,metalearning",
    "author": "",
    "author_email": "Martin Schubert <mfschubert@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/99/93/f7bb0f528eceab89bc820451c490c0fe39e5c3cba7d2920d94699c5b61c8/mewtax-0.0.0.tar.gz",
    "platform": null,
    "description": "# Differentiable minimization in jax using Newton's method\n`v0.0.0`\n\nThis project essentially repackages code from the [implicit layers tutorial](https://implicit-layers-tutorial.org/implicit_functions/) to provide a `minimize_newton` function.\n\nGiven a function `fn(params, z)`, it finds the `z_star` which minimizes `fn` for given `params`. Further, the gradient of the solution with respect to `params` can be computed; this is done using a custom vjp rule, as shown in the tutorial.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Martin F. Schubert  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Differentiable minimization in jax using Newton's method.",
    "version": "0.0.0",
    "project_urls": null,
    "split_keywords": [
        "jax",
        "differentiable optimization",
        "metalearning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc8ae6387d2772595157d6826e172952a822ddfffa105a0fd630fd50aade2b77",
                "md5": "8edca858a545a31504345a5f357f1b11",
                "sha256": "8dc0435e4fa449e298ddfa5d8508edb79eac5d585d8547e5f70666457fa0659f"
            },
            "downloads": -1,
            "filename": "mewtax-0.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8edca858a545a31504345a5f357f1b11",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5297,
            "upload_time": "2024-02-18T17:19:26",
            "upload_time_iso_8601": "2024-02-18T17:19:26.423470Z",
            "url": "https://files.pythonhosted.org/packages/fc/8a/e6387d2772595157d6826e172952a822ddfffa105a0fd630fd50aade2b77/mewtax-0.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9993f7bb0f528eceab89bc820451c490c0fe39e5c3cba7d2920d94699c5b61c8",
                "md5": "df0eb9c197c742ee82c46181f3f183c3",
                "sha256": "4b88134360f3875d3869257b48c30c453b22e4698a15d75a4d970d240b78d2c9"
            },
            "downloads": -1,
            "filename": "mewtax-0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "df0eb9c197c742ee82c46181f3f183c3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6267,
            "upload_time": "2024-02-18T17:19:28",
            "upload_time_iso_8601": "2024-02-18T17:19:28.199380Z",
            "url": "https://files.pythonhosted.org/packages/99/93/f7bb0f528eceab89bc820451c490c0fe39e5c3cba7d2920d94699c5b61c8/mewtax-0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 17:19:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mewtax"
}
        
Elapsed time: 0.18358s