Getting started
Examples
Developper documentation
API documentation
NDCG metrics.
Bases: Metric
Metric
Normalized Discounted Cumulative Gain at K
Name of the metric
str
Tensor with logits, shape = (batch, num_classes)
Tensor with indices, shape = (batch, …, num_target)
Top k logits for recall
int
One-hot tensor of “masked” classes, shape = (batch, num_casses)
str, optional
Recall metrics.
Recall at k.