ClassificationMetric
- class ClassificationMetric[source]
Bases:
pykeen.metrics.utils.Metric
A base class for classification metrics.
Attributes Summary
whether the metric needs binarized scores
whether there is a closed-form solution of the expectation
whether there is a closed-form solution of the variance
Return the key for use in metric result dictionaries.
whether the metric supports weights
synonyms for this metric
Methods Summary
Get the description.
get_link
()Get the link from the docdata.
Get the math notation for the range of this metric.
score
(y_true, y_score)Run the scoring function.
Attributes Documentation
- closed_expectation: ClassVar[bool] = False
whether there is a closed-form solution of the expectation
Methods Documentation