Skip to content

Metrics

This module contains all evaluation metrics available in the iRec. Its goal is to provide distinct options to be selected during the previous setup. These metrics are suitable to the recommendation scenario and are usually split into a few groups: Accuracy Coverage, Novelty and Diversity. In our architecture, they follow an implementation pattern where each metric has two methods:

(1) compute, in which the entire calculation is performed for a given user;

(2) update, which updates the historic of items in each user during the interactive scenario.

The recommender metrics supported by iRec are listed below.

Metric Reference Description
Hits Link Number of recommendations made successfully.
Precision Link Precision is defined as the percentage of predictions we get right.
Recall Link Represents the probability that a relevant item will be selected.
EPC Link Represents the novelty for each user and it is measured by the expected number of seen relevant recommended items not previously seen.
EPD Link EPD is a distance-based novelty measure, which looks at distances between the items in the user’s profile and the recommended items.
ILD Link It represents the diversity between the list of items recommended. This diversity is measured by the Pearson correlation of the item’s features vector.
Gini Coefficient Link Diversity is represented as the Gini coefficient – a measure of distributional inequality. It is measured as the inverse of cumulative frequency that each item is recommended.
Users Coverage Link It represents the percentage of distinct users that are interested in at least k items recommended (k ≥ 1).