elliot.evaluation.metrics package¶
Subpackages¶
- elliot.evaluation.metrics.accuracy package
- Subpackages
- elliot.evaluation.metrics.accuracy.AUC package
- elliot.evaluation.metrics.accuracy.DSC package
- elliot.evaluation.metrics.accuracy.f1 package
- elliot.evaluation.metrics.accuracy.hit_rate package
- elliot.evaluation.metrics.accuracy.map package
- elliot.evaluation.metrics.accuracy.mar package
- elliot.evaluation.metrics.accuracy.mrr package
- elliot.evaluation.metrics.accuracy.ndcg package
- elliot.evaluation.metrics.accuracy.precision package
- elliot.evaluation.metrics.accuracy.recall package
- Module contents
- Subpackages
- elliot.evaluation.metrics.bias package
- elliot.evaluation.metrics.coverage package
- elliot.evaluation.metrics.diversity package
- elliot.evaluation.metrics.fairness package
- elliot.evaluation.metrics.novelty package
- elliot.evaluation.metrics.rating package
Submodules¶
elliot.evaluation.metrics.base_metric module¶
This is the implementation of the Precision metric. It proceeds from a user-wise computation, and average the values over the users.
-
class
elliot.evaluation.metrics.base_metric.
BaseMetric
(recommendations, config, params, evaluation_objects, additional_data=None)[source]¶ Bases:
abc.ABC
This class represents the implementation of the Precision recommendation metric. Passing ‘Precision’ to the metrics list will enable the computation of the metric.
elliot.evaluation.metrics.metrics_utils module¶
-
class
elliot.evaluation.metrics.metrics_utils.
ProxyMetric
(name='ProxyMetric', val=0, needs_full_recommendations=False)[source]¶
elliot.evaluation.metrics.statistical_array_metric module¶
This is the implementation of the Precision metric. It proceeds from a user-wise computation, and average the values over the users.
Module contents¶
This is the metrics’ module.
This module contains and expose the recommendation metrics. Each metric is encapsulated in a specific package.
See the implementation of Precision metric for creating new per-user metrics. See the implementation of Item Coverage for creating new cross-user metrics.