Skip to main content

Introduction

This open-source project, referred to as PTRanking (Learning to Rank in PyTorch) aims to provide scalable and extendable implementations of typical learning-to-rank methods based on PyTorch. On one hand, this project enables a uniform comparison over several benchmark datasets leading to an in-depth understanding of previous learning-to-rank methods. On the other hand, this project makes it easy to develop and incorporate newly proposed models, so as to expand the territory of techniques on learning-to-rank.

Key Features:

  • A number of representative learning-to-rank models, including not only the traditional optimization framework via empirical risk minimization but also the adversarial optimization framework
  • Supports widely used benchmark datasets. Meanwhile, random masking of the ground-truth labels with a specified ratio is also supported
  • Supports different metrics, such as Precision, MAP, nDCG and nERR
  • Highly configurable functionalities for fine-tuning hyper-parameters, e.g., grid-search over hyper-parameters of a specific model
  • Provides easy-to-use APIs for developing a new learning-to-rank model

Please refer to the documentation site for more details.

Metadata

Release files for ptranking 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptranking 0.0.5
File Size Uploaded
ptranking-0.0.5.tar.gz 80.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptranking 0.0.5
File Interpreter ABI Platform
ptranking-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 194.2 kB

Release files / ptranking-0.0.5.tar.gz

Download URL ptranking-0.0.5.tar.gz
Size 80.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7a45689c3e05c2b3f349bad114384c1ed41b73cc1c2a85f301dc99ffd1d449d0
BLAKE2b-256 checksum
How to use checksums
fba05e0fd28d54fbcf37afe771760446922d27d17d86a29936d414f8e7f51dc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / ptranking-0.0.5-py3-none-any.whl

Download URL ptranking-0.0.5-py3-none-any.whl
Size 113.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0c5ce19da410d46daf050f3b39dce5845899509ec91c9953a67c8473dcdeb34
BLAKE2b-256 checksum
How to use checksums
59170cc00b11110a299cafe4fe9c8ac277365c7e9aff23ee32d122666ee64d8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page