elliot.evaluation.metrics.coverage.num_retrieved package

Submodules

elliot.evaluation.metrics.coverage.num_retrieved.num_retrieved module

This is the implementation of the NumRetrieved metric. It proceeds from a user-wise computation, and average the values over the users.

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

Bases: elliot.evaluation.metrics.base_metric.BaseMetric

Number of Recommendations Retrieved

This class represents the implementation of the Number of Recommendations Retrieved recommendation metric.

For further details, please refer to the link

simple_metrics: [NumRetrieved]
eval_user_metric()[source]

Evaluation function :return: the overall averaged value of NumRetrieved

static name()[source]

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

Module contents