Skip to main content

No project description provided

Project description

rank2plan

Tests

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

rank2plan-0.3.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

rank2plan-0.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

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

Hashes for rank2plan-0.3.0.tar.gz
Algorithm Hash digest
SHA256 395b675f3704ab4599ff0d98c1817fbdb12ca29940cabbdd052ed11d5ec2c60a
MD5 c809c6a0b8fa319f706f0cd3798cdeee
BLAKE2b-256 87d347006f0c3b9160f656f0262adeff42699ba9223b6f208ff5fb744e22b70d

See more details on using hashes here.

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

Hashes for rank2plan-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef5808c677ea246cb5a5085cc9c5e93a54206518de4252099e5b063ff607ab3d
MD5 196b4e77eb2a8d3d542283676df1a893
BLAKE2b-256 c4244db68d2e52bb017e14ace8d5ab346058ecb96de0379c8d4f75c12910a406

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page