API reference#
This is the class and function reference of scikit-lr. Each entry links to a page with its full description, and the user guide gives more details on how to use them.
sklr: Settings and information tools#
Print useful debugging information. |
sklr.base: Base classes and utility functions#
Mixin class for all label rankers in scikit-lr. |
|
Mixin class for all partial label rankers in scikit-lr. |
|
|
Return |
|
Return |
sklr.metrics: Metrics#
See the Metrics and scoring: evaluating the rankers section of the user guide for further details.
Scoring interface#
|
Get a scorer of label ranking or partial label ranking from its name. |
Get the names of all the scorers of label ranking and partial label ranking. |
Label ranking metrics#
|
Compute the Kendall distance between label rankings. |
|
Compute Kendall's \(\tau\) between label rankings. |
Partial label ranking metrics#
|
Compute the \(\tau_x\) coefficient between partial label rankings. |
sklr.utils: Utilities#
|
Input validation on the rankings of a target. |
Determine the type of rankings indicated by the target. |