Skip to main content

class MetricThresholdFilter

Filter that compares an absolute metric value against a user-defined threshold. The value may be a single value or an aggregated result over a window of multiple values.

method MetricThresholdFilter.__init__

Args:
  • name (str):
  • agg (wandb.automations._filters.run_metrics.Agg | None):
  • window (int):
  • cmp (Literal[‘gte,gte', 'gt’, ‘lt,lt', 'lte’]): Comparison operator between the metric value (left) vs. the threshold (right).
  • threshold (Union[Annotated, Annotated]):
Returns: An MetricThresholdFilter object.