Skip to main content

class MetricThresholdFilter

*,
name: str,
agg_op: wandb.automations._filters.run_metrics.Agg | None = None,
window_size: typing.Annotated[int, Gt(gt=0)] = 1,
cmp_op: Literal['$gte', '$gt', '$lt', '$lte'],
threshold: Union[Annotated[int, Strict(strict=True)], Annotated[float, Strict(strict=True)]]

Description

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.

Args

  • name:
  • agg_op:
  • window_size:
  • cmp_op: Comparison operator between the metric value (left) vs. the threshold (right).
  • threshold: