mlrl.testbed_sklearn.experiments.output.evaluation.measures_ranking module

Author Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes that implement ranking evaluation measures.

mlrl.testbed_sklearn.experiments.output.evaluation.measures_ranking.at_k(measure: Measure) Generator[Measure, None, None]

Returns the given measure, as well as different variants of it (with varying k) that only take the top-k outputs into account.

Parameters:

measure – A measure

Returns:

A generator that iterates the given measure, as well as several variants of it