Skip to main content

class MetricZScoreFilter

*,
name: str,
window_size: typing.Annotated[int, Gt(gt=0)] = 30,
threshold: Union[Annotated[int, Gt(gt=0)], Annotated[float, Gt(gt=0)]] = 3.0,
change_dir: wandb.automations._filters.run_metrics.ChangeDir = ANY

Description

Filter that compares a metric’s z-score against a user-defined threshold.

Args

  • name: Name of the observed metric.
  • window_size: Size of the window to calculate the metric mean and standard deviation over.
  • threshold: Threshold for the z-score.
  • change_dir: Direction of the z-score change to watch for.