latte.metrics.base
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
|
- class latte.metrics.base.LatteMetric
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- add_state(self, name: str, default: Union[list, numpy.ndarray])
- abstract update_state(self)
- reset_state(self)
- abstract compute(self)
- class latte.metrics.base.MetricBundle(metrics: Union[List[LatteMetric], Dict[str, LatteMetric]])
- update_state(self, **kwargs)
- reset_state(self)
- compute(self) Dict[str, float]