This function is usually used to assess the quality of ranking.
Calculation principles
The calculation of this function consists of the following steps:
-
Filter out all objects with negative predicted relevancies (ai).
-
The FilteredDCG metric is calculated for each group (group∈groups) with filtered objects.
The calculation principle depends on the specified value of the type and denominator parameters:
| type/denominator |
LogPosition |
Position |
| Base |
FilteredDCG(group)=i∑log2(i+1)tg(i,group) |
FilteredDCG(group)=i∑itg(i,group) |
| Exp |
FilteredDCG(group)=i∑log2(i+1)2tg(i,group)−1 |
FilteredDCG(group)=i∑i2tg(i,group)−1 |
tg(i,group) is the label value for the i-th object in the group after filtering objects with negative predicted relevancies.
-
The aggregated value of the metric for all groups is calculated as follows:
FilteredDCG=∣groups∣group∈groups∑FilteredDCG(group)
User-defined parameters
type
Description
Metric calculation principles.
Possible values:
Default: Base
denominator
Description
Metric denominator type.
Possible values:
Default: Position