amallia / fastrank

My most frequently used learning-to-rank algorithms ported to rust for efficiency. Try it: "pip install fastrank".

Home Page:https://jjfoley.me/2019/10/11/fastrank-alpha.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastRank Build Status PyPI version

My most frequently used learning-to-rank algorithms ported to rust for efficiency.

Read my blog-post announcing the first public version: 0.4. It's alpha because I think the API needs work, not because there's any sort of known correctness or compatiblity issues.

Python Usage

pip install fastrank

See this Colab notebook for more, or see a static version here on Github.

Code Structure

There are three subprojects here.

fastrank

The core algorithms and data structures are implemented in Rust. Formatted with rustfmt.

cfastrank PyPI version

A very thin layer of rust code provides a C-compatible API. A manylinux version is published to pypi. Don't install this manually -- install the fastrank package and let it be pulled in as a dependency.

pyfastrank PyPI version

A pure-python libary accesses the core algorithms using cffi via cfastrank. A version is published to pypi.

About

My most frequently used learning-to-rank algorithms ported to rust for efficiency. Try it: "pip install fastrank".

https://jjfoley.me/2019/10/11/fastrank-alpha.html

License:MIT License


Languages

Language:Rust 75.0%Language:Python 22.2%Language:Shell 1.9%Language:Batchfile 0.5%Language:Makefile 0.4%