No project description provided
Project description
rank2plan
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
pip install rank2plan
This package requires Python 3.10 or later.
Examples
See under tests for examples.
Todo
- 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].
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rank2plan-0.3.0.tar.gz.
File metadata
- Download URL: rank2plan-0.3.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.9.13 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
395b675f3704ab4599ff0d98c1817fbdb12ca29940cabbdd052ed11d5ec2c60a
|
|
| MD5 |
c809c6a0b8fa319f706f0cd3798cdeee
|
|
| BLAKE2b-256 |
87d347006f0c3b9160f656f0262adeff42699ba9223b6f208ff5fb744e22b70d
|
File details
Details for the file rank2plan-0.3.0-py3-none-any.whl.
File metadata
- Download URL: rank2plan-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.9.13 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef5808c677ea246cb5a5085cc9c5e93a54206518de4252099e5b063ff607ab3d
|
|
| MD5 |
196b4e77eb2a8d3d542283676df1a893
|
|
| BLAKE2b-256 |
c4244db68d2e52bb017e14ace8d5ab346058ecb96de0379c8d4f75c12910a406
|