Skip to main content

class MetricChangeFilter

Filter that compares a change in a metric value to a user-defined threshold. The change is calculated over “tumbling” windows, i.e. the difference between the current window and the non-overlapping prior window.

method MetricChangeFilter.__init__

Args:
  • name (str):
  • agg (wandb.automations._filters.run_metrics.Agg | None):
  • window (int):
  • cmp (None): Ignored.
  • threshold (Union[Annotated, Annotated]):
  • prior_window (int): Size of the “prior” metric aggregation window (ignored if agg is None). If omitted, defaults to the size of the current window.
  • change_type (ChangeType):
  • change_dir (ChangeDir):
Returns: An MetricChangeFilter object.