elliot.evaluation.metrics.coverage.item_coverage package

Submodules

elliot.evaluation.metrics.coverage.item_coverage.item_coverage module

This is the implementation of the Item Coverage metric. It directly proceeds from a system-wise computation, and it considers all the users at the same time.

class elliot.evaluation.metrics.coverage.item_coverage.item_coverage.ItemCoverage(recommendations, config, params, eval_objects)[source]

Bases: elliot.evaluation.metrics.base_metric.BaseMetric

Item Coverage

This class represents the implementation of the Item Coverage recommendation metric.

For further details, please refer to the book

Note

The simplest measure of catalog coverage is the percentage of all items that can ever be recommended. This measure can be computed in many cases directly given the algorithm and the input data set.

To compute the metric, add it to the config file adopting the following pattern:

simple_metrics: [ItemCoverage]
eval()[source]

Evaluation function :return: the overall averaged value of Item Coverage

static name()[source]

Metric Name Getter :return: returns the public name of the metric

Module contents

This is the Item Coverage metric module.

This module contains and expose the recommendation metric.