mixmo.core.metrics_wrapper.MetricsWrapper¶
-
class
mixmo.core.metrics_wrapper.
MetricsWrapper
(metrics)[source]¶ Bases:
object
Metric storing object
Methods
__init__
(metrics)Initialize self.
get_scores
([split])Print stored results
update
(pred, target, confidence, probs)Compute tracked metrics and update records
update_diversity
(target, predictions)Compute and update records of diversity metrics