Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.2 KB

mrr-cython

PY_PIC BUILD_STATUS_PIC

Description

Fast implementation of the MRR ranking metric. Suitable to be used as custom metric in ranking algorithms, as they really ofter do not support it as a built-in ranking metric.

Blazingly fast

The code is written in Cython and therefore can be used in Python natively, but still is fast as C code.

Installation

You should build the Cython source code before using the function Do it by:

python setup.py build_ext --inplace

Example

See example.py for a complete example

License

Released under the MIT License