besskge.metric

Utilities for computing metrics to evaluate the predictions of KGE models.

Module Attributes

METRICS_DICT

Metric str -> callable

Classes

BaseMetric()

Evaluation(metric_list[, mode, ...])

A module for computing link prediction metrics.

HitsAtK(k)

Hits@K metric.

ReciprocalRank()

Reciprocal rank (for example to compute MRR).