Skip to main content

A library of scalable and extendable implementations of typical learning-to-rank methods based on PyTorch.

Project description

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.

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

ptranking-0.0.5.tar.gz (80.3 kB view details)

Uploaded Source

Built Distribution

ptranking-0.0.5-py3-none-any.whl (113.9 kB view details)

Uploaded Python 3

File details

Details for the file ptranking-0.0.5.tar.gz.

File metadata

  • Download URL: ptranking-0.0.5.tar.gz
  • Upload date:
  • Size: 80.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ptranking-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7a45689c3e05c2b3f349bad114384c1ed41b73cc1c2a85f301dc99ffd1d449d0
MD5 964edafa70cf9117a0ba88f501c374e6
BLAKE2b-256 fba05e0fd28d54fbcf37afe771760446922d27d17d86a29936d414f8e7f51dc6

See more details on using hashes here.

File details

Details for the file ptranking-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ptranking-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 113.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ptranking-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c5ce19da410d46daf050f3b39dce5845899509ec91c9953a67c8473dcdeb34
MD5 c56547bf1bb8b8582f5305f37e462d3b
BLAKE2b-256 59170cc00b11110a299cafe4fe9c8ac277365c7e9aff23ee32d122666ee64d8e

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