avalanche.evaluation.metrics.MAC_metrics

avalanche.evaluation.metrics.MAC_metrics(*, minibatch=False, epoch=False, experience=False) List[avalanche.evaluation.metric_definitions.PluginMetric][source]

Helper method that can be used to obtain the desired set of plugin metrics.

Parameters
  • minibatch – If True, will return a metric able to log the MAC after each iteration at training time.

  • epoch – If True, will return a metric able to log the MAC after each epoch at training time.

  • experience – If True, will return a metric able to log the MAC after each eval experience.

Returns

A list of plugin metrics.