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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e372fa7809221959cd6fff0a6ae6ae89769bb8e3f8e9002932cc7d61b9f849a |
|
MD5 | 75d84d29a736dffe212b22155f5bc3c0 |
|
BLAKE2b-256 | 9a1da59f8922e2708cbc32e1a3a15cb97b82fafc84b3408bbd3219d3d63fbbee |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e475d71dd306eedf701afef09187237c7e42c0951768dc737cddfa6f6a5b334b |
|
MD5 | fca25570b66cc2ba2e63ebb79eadb4fb |
|
BLAKE2b-256 | 29542b977752af140f26326eef5a17a9120046806731eddd03b26b5df05457fb |