Name | rank2plan JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-09-03 06:47:44 |
maintainer | None |
docs_url | None |
author | Ryan Wang |
requires_python | <4.0,>=3.9 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# rank2plan
[![Tests](https://github.com/ryanxwang/rank2plan/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/ryanxwang/rank2plan/actions/workflows/pytest.yml)
Implementation of constraint generation and column generation for solving large
L1-RankSVMs with hinge loss (with pair-specific gaps) and sample weights. This
is based on the work by Dedieu et al (2022) on solving large L1-SVMs with hinge
loss. See `documents/theory.pdf` for how we extend their work. The "2plan" part
of the package name comes from the tool being used to learn heuristics for
planning.
## Installation
Install with
```bash
pip install rank2plan
```
The PyPI release only supports `3.8 <= python <= 3.10` for now.
## Examples
See under `tests` for examples.
## Todo
- [ ] Support for sparse matrices and vectors
- [x] Bayesian optimisation for tuning the `C` value.
- [ ] We log pretty aggressively, probably should add a verbosity control
## References
- A. Dedieu, R. Mazumder, and H. Wang. Solving L1-regularized SVMs and Related
Linear Programs: Revisiting the Effectiveness of Column and Constraint
Generation. J. Mach. Learn. Res., 23:164:1–164:41, 2022. [[URL]](http://jmlr.org/papers/v23/19-104.html).
Raw data
{
"_id": null,
"home_page": null,
"name": "rank2plan",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Ryan Wang",
"author_email": "ryanxiaowang2001@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fd/f6/13610d864f71e172e9e5b05feca11c01e9510b1b070f354af3e3b7a4117d/rank2plan-0.2.0.tar.gz",
"platform": null,
"description": "# rank2plan\n\n[![Tests](https://github.com/ryanxwang/rank2plan/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/ryanxwang/rank2plan/actions/workflows/pytest.yml)\n\nImplementation of constraint generation and column generation for solving large\nL1-RankSVMs with hinge loss (with pair-specific gaps) and sample weights. This\nis based on the work by Dedieu et al (2022) on solving large L1-SVMs with hinge\nloss. See `documents/theory.pdf` for how we extend their work. The \"2plan\" part\nof the package name comes from the tool being used to learn heuristics for\nplanning.\n\n## Installation\n\nInstall with\n\n```bash\npip install rank2plan\n```\n\nThe PyPI release only supports `3.8 <= python <= 3.10` for now.\n\n## Examples\n\nSee under `tests` for examples.\n\n## Todo\n\n- [ ] Support for sparse matrices and vectors\n- [x] Bayesian optimisation for tuning the `C` value.\n- [ ] We log pretty aggressively, probably should add a verbosity control\n\n## References\n\n- A. Dedieu, R. Mazumder, and H. Wang. Solving L1-regularized SVMs and Related\nLinear Programs: Revisiting the Effectiveness of Column and Constraint\nGeneration. J. Mach. Learn. Res., 23:164:1\u2013164:41, 2022. [[URL]](http://jmlr.org/papers/v23/19-104.html).\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c73db115746fa603070343933448424caa07acc6696652760d70777a6ad4d932",
"md5": "9a02ebd2c624059813c83d10fe49db5f",
"sha256": "a0106fe8dcc1f570d29e798e15780a3cf40b82a7269f355df58014451447a8b5"
},
"downloads": -1,
"filename": "rank2plan-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a02ebd2c624059813c83d10fe49db5f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 17219,
"upload_time": "2024-09-03T06:47:42",
"upload_time_iso_8601": "2024-09-03T06:47:42.969379Z",
"url": "https://files.pythonhosted.org/packages/c7/3d/b115746fa603070343933448424caa07acc6696652760d70777a6ad4d932/rank2plan-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fdf613610d864f71e172e9e5b05feca11c01e9510b1b070f354af3e3b7a4117d",
"md5": "d4ce8007af3ad9500c4ac0df24f5706e",
"sha256": "d912fb0e06c993c37bd82154545519567d0757772d87aa7afc19c67b0de6885e"
},
"downloads": -1,
"filename": "rank2plan-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "d4ce8007af3ad9500c4ac0df24f5706e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 13601,
"upload_time": "2024-09-03T06:47:44",
"upload_time_iso_8601": "2024-09-03T06:47:44.113337Z",
"url": "https://files.pythonhosted.org/packages/fd/f6/13610d864f71e172e9e5b05feca11c01e9510b1b070f354af3e3b7a4117d/rank2plan-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-03 06:47:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "rank2plan"
}