メインコンテンツへスキップ
GitHub source

class MetricZScoreFilter

メトリクスの Z スコアをユーザー定義のしきい値と比較するフィルタです。

method MetricZScoreFilter.__init__

__init__(
    name: 'str',
    window: 'int' = 30,
    threshold: 'Annotated | Annotated' = 3.0,
    change_dir: 'ChangeDir' = ANY
) → None
Args:
  • name (str): 観測対象となるメトリクスの名前。
  • window (int): メトリクスの平均と標準偏差を計算するためのウィンドウサイズ。
  • threshold (Union[Annotated, Annotated]): Z スコアのしきい値。
  • change_dir (ChangeDir): 監視対象となる Z スコアの変化の方向。
Returns: MetricZScoreFilter オブジェクト。