lenskit.metrics.ListMetric#
- class lenskit.metrics.ListMetric#
Bases:
MetricBase class for metrics that measure individual recommendation (or prediction) lists, and whose results may be aggregated to compute overall metrics.
For prediction metrics, this is macro-averaging.
- Stability:
- Full (see Stability Levels).
- __init__()#
Methods
__init__()measure_list(output, test, /)Compute the metric value for a single result list.
Attributes
The default value to infer when computing statistics over missing values.
labelThe metric's default label in output.