get_scorer_names#
- sklr.metrics.get_scorer_names() list[str]#
Get the names of all the scorers of label ranking and partial label ranking.
Each name can be passed to
get_scorer()to get its scorer. They are not valid values of thescoringparameter of scikit-learn, which only knows the names of its own scorers.- Returns:
- list of str
The names of the scorers, in alphabetical order.
See also
get_scorerGet a scorer from its name.
Examples
>>> from sklr.metrics import get_scorer_names >>> get_scorer_names() ['kendall_tau', 'neg_kendall_distance', 'tau_x']