avalanche.evaluation.metrics.forgetting_metrics

avalanche.evaluation.metrics.forgetting_metrics(*, experience=False, stream=False) List[avalanche.evaluation.metric_definitions.PluginMetric][source]

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

Parameters
  • experience – If True, will return a metric able to log the forgetting on each evaluation experience.

  • stream – If True, will return a metric able to log the forgetting averaged over the evaluation stream experiences, which have been observed during training.

Returns

A list of plugin metrics.