Metric
- class Metric[source]
Bases:
object
A base class for 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.
Attributes Documentation
- closed_expectation: ClassVar[bool] = False
whether there is a closed-form solution of the expectation
Methods Documentation