This function is usually used to assess the quality of ranking.
The possible label values are limited: .
The calculation of this function consists of the following steps:
The objects in each group are sorted in descending order of predicted relevancies ().
The PFound metric is calculated for each group (). To do this, the label values () of the objects from the sorted list are multiplied by their weight () and summed up as follows:
- is a constant,
- is the global index of the -th best object in the group . The -th object is considered better than the -th object if the following inequality is true:
The aggregated value of the metric for all groups is calculated as follows:
The probability of search continuation after reaching the current object.
The number of top samples in a group that are used to calculate the ranking metric. Top samples are either the samples with the largest approx values or the ones with the lowest target values if approx values are the same.
Default: –1 (all label values are used)