besskge.metric.ReciprocalRank
- class besskge.metric.ReciprocalRank[source]
Reciprocal rank (for example to compute MRR).
Returns the reciprocal rank of ground truth among predictions.
- Parameters:
reduction – see
BaseMetric
Reciprocal rank (for example to compute MRR).
Returns the reciprocal rank of ground truth among predictions.
reduction – see BaseMetric