View source on GitHub
|
Keras metrics in TF-Ranking.
Classes
class ARPMetric: Average relevance position (ARP).
class AlphaDCGMetric: Alpha discounted cumulative gain (alphaDCG).
class DCGMetric: Discounted cumulative gain (DCG).
class HitsMetric: Hits@k metric.
class MRRMetric: Mean reciprocal rank (MRR).
class MeanAveragePrecisionMetric: Mean average precision (MAP).
class NDCGMetric: Normalized discounted cumulative gain (NDCG).
class OPAMetric: Ordered pair accuracy (OPA).
class PrecisionIAMetric: Precision-IA@k (Pre-IA@k).
class PrecisionMetric: Precision@k (P@k).
class RankingMetricKey: Ranking metric key strings.
class RecallMetric: Recall@k (R@k).
Functions
default_keras_metrics(...): Returns a list of ranking metrics.
get(...): Factory method to get a list of ranking metrics.
Other Members | |
|---|---|
| absolute_import |
Instance of __future__._Feature
|
| division |
Instance of __future__._Feature
|
| print_function |
Instance of __future__._Feature
|
View source on GitHub