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.4.tar.gz (81.1 kB view details)

Uploaded Source

Built Distribution

ptranking-0.0.4-py3-none-any.whl (115.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptranking-0.0.4.tar.gz
  • Upload date:
  • Size: 81.1 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.4.tar.gz
Algorithm Hash digest
SHA256 2e372fa7809221959cd6fff0a6ae6ae89769bb8e3f8e9002932cc7d61b9f849a
MD5 75d84d29a736dffe212b22155f5bc3c0
BLAKE2b-256 9a1da59f8922e2708cbc32e1a3a15cb97b82fafc84b3408bbd3219d3d63fbbee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ptranking-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 115.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e475d71dd306eedf701afef09187237c7e42c0951768dc737cddfa6f6a5b334b
MD5 fca25570b66cc2ba2e63ebb79eadb4fb
BLAKE2b-256 29542b977752af140f26326eef5a17a9120046806731eddd03b26b5df05457fb

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