jma127/pyltr

Python learning to rank (LTR) toolkit

65
/ 100
Established

Implements LambdaMART gradient boosting with query-aware training and early stopping, plus standard LTR evaluation metrics (NDCG, ERR, MAP, AUC-ROC). Includes native LETOR dataset parsing and query grouping utilities for structured ranking data. Supports configurable gain functions and validation-based model trimming.

464 stars. Available on PyPI.

Maintenance 6 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 24 / 25

How are scores calculated?

Stars

464

Forks

106

Language

Python

License

BSD-3-Clause

Last pushed

Dec 27, 2025

Commits (30d)

0

Dependencies

5

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/jma127/pyltr"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.