SearchPioneer.RankLib
1.0.0-alpha.1
Prefix Reserved
See the version list below for details.
dotnet add package SearchPioneer.RankLib --version 1.0.0-alpha.1
NuGet\Install-Package SearchPioneer.RankLib -Version 1.0.0-alpha.1
<PackageReference Include="SearchPioneer.RankLib" Version="1.0.0-alpha.1" />
paket add SearchPioneer.RankLib --version 1.0.0-alpha.1
#r "nuget: SearchPioneer.RankLib, 1.0.0-alpha.1"
// Install SearchPioneer.RankLib as a Cake Addin #addin nuget:?package=SearchPioneer.RankLib&version=1.0.0-alpha.1&prerelease // Install SearchPioneer.RankLib as a Cake Tool #tool nuget:?package=SearchPioneer.RankLib&version=1.0.0-alpha.1&prerelease
RankLib for .NET
Ranklib for .NET is a hardened port to .NET of RankLib, a popular open source learning to rank library written in Java. It maintains compatibility with input and output files of RankLib, allowing it to be used to integrate with systems that use RankLib, such as the Elasticsearch Learning to Rank plugin.
RankLib is available as both a command line tool for training and evaluating rankers, as well as a library for incorporating into solutions.
Installation
Library
To add as a library to an existing project
dotnet add package SearchPioneer.RankLib
Command Line Tool
To add as a global .NET command line tool
dotnet tool install -g SearchPioneer.RankLib.Cli
To see all the commands supported by the command line tool
dotnet-ranklib --help
What is Learning to Rank (LTR)?
Learning to Rank (LTR) is a technique in machine learning that trains models to optimize the ranking order of items in a list based on relevance to a specific query or user intent. The goal is to improve the quality of search results, recommendations, and other ranked lists by understanding and modeling what users find most relevant or useful. LTR is widely used in search engines, recommendation systems, and information retrieval to enhance user satisfaction and engagement.
Algorithms and Metrics
The following ranking algorithms are implemented
- MART (Multiple Additive Regression Trees, a.k.a. Gradient Boosted Decision Trees (GBDT))
- RankNet
- LambdaRank
- RankBoost
- AdaRank
- Coordinate Ascent
- LambdaMART
- ListNet
- Random Forests
The following metrics are implemented to measure the effectiveness of ranking
- Average Precision (
MAP
) - Best at K (
Best@K
) - Discounted Cumulative Gain (
DCG@K
) - Expected Reciprocal Rank (
ERR@K
) - Normalized Discounted Cumulative Gain (
NDCG@K
) - Precision at K (
P@K
) - Reciprocal Rank (
RR
)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- MathNet.Numerics.Signed (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-alpha.2 | 34 | 11/20/2024 |
1.0.0-alpha.1 | 44 | 11/18/2024 |