{ "info": { "author": "Piotr Dabkowski", "author_email": "piodrus@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Piecewise Linear Functions (PWLs) can be used to approximate any 1D function. \nPWLs are built with a configurable number of line segments - the more segments the more accurate the approximation.\nThis package implements PWLs in PyTorch and as such they can be fit to the data using standard gradient descent.\nFor example:\n\nimport torchpwl\n\n# Create a PWL consisting of 3 segments for 5 features - each feature will have its own PWL function.\npwl = torchpwl.PWL(num_features=5, num_breakpoints=3)\nx = torch.Tensor(11, 5).normal_()\ny = pwl(x)\n\n\nMonotonicity is also supported via `MonoPWL`. See the class documentations for more details.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PiotrDabkowski/torchpwl", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "torchpwl", "package_url": "https://pypi.org/project/torchpwl/", "platform": "", "project_url": "https://pypi.org/project/torchpwl/", "project_urls": { "Homepage": "https://github.com/PiotrDabkowski/torchpwl" }, "release_url": "https://pypi.org/project/torchpwl/0.1.0/", "requires_dist": [ "torch (>=1.1.0)" ], "requires_python": "", "summary": "Implementation of Piecewise Linear Functions (PWL) in PyTorch.", "version": "0.1.0" }, "last_serial": 5286579, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7cdf1459e9000cf5f36214545e4e4032", "sha256": "086d191e60377a0e9e38fb5e2a958fa62ff8d50deb7ce9a83a221f92412f192b" }, "downloads": -1, "filename": "torchpwl-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7cdf1459e9000cf5f36214545e4e4032", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6941, "upload_time": "2019-05-18T20:40:12", "url": "https://files.pythonhosted.org/packages/e1/77/0f1b192011bbc614e433489c4dc5d7ce5125aa9c624b4c694aa150e6ff92/torchpwl-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bb6fa4dc620e9d44e23d6aad714d245", "sha256": "753b4078745543958766ca46c1766d62264c6a0ba633b88cf156d8ef98723504" }, "downloads": -1, "filename": "torchpwl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3bb6fa4dc620e9d44e23d6aad714d245", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5699, "upload_time": "2019-05-18T20:40:14", "url": "https://files.pythonhosted.org/packages/62/00/9474ff2f2565d97b4f9edf51bcf9cf5aa61e519b0648745d3291fdacdcc2/torchpwl-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7cdf1459e9000cf5f36214545e4e4032", "sha256": "086d191e60377a0e9e38fb5e2a958fa62ff8d50deb7ce9a83a221f92412f192b" }, "downloads": -1, "filename": "torchpwl-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7cdf1459e9000cf5f36214545e4e4032", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6941, "upload_time": "2019-05-18T20:40:12", "url": "https://files.pythonhosted.org/packages/e1/77/0f1b192011bbc614e433489c4dc5d7ce5125aa9c624b4c694aa150e6ff92/torchpwl-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bb6fa4dc620e9d44e23d6aad714d245", "sha256": "753b4078745543958766ca46c1766d62264c6a0ba633b88cf156d8ef98723504" }, "downloads": -1, "filename": "torchpwl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3bb6fa4dc620e9d44e23d6aad714d245", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5699, "upload_time": "2019-05-18T20:40:14", "url": "https://files.pythonhosted.org/packages/62/00/9474ff2f2565d97b4f9edf51bcf9cf5aa61e519b0648745d3291fdacdcc2/torchpwl-0.1.0.tar.gz" } ] }