FilteredDCG

This function is usually used to assess the quality of ranking.

Calculation principles

The calculation of this function consists of the following steps:

  1. Filter out all objects with negative predicted relevancies ().

  2. The FilteredDCG metric is calculated for each group () with filtered objects.

    The calculation principle depends on the specified value of the type and denominator parameters:

    type/denominator LogPosition Position
    Base
    Exp

    is the label value for the i-th object in the group after filtering objects with negative predicted relevancies.

  3. The aggregated value of the metric for all groups is calculated as follows:

User-defined parameters

type

Description

Metric calculation principles.

Possible values:

  • Base
  • Exp

Default: Base

denominator

Description

Metric denominator type.

Possible values:

  • LogPosition
  • Position

Default: Position