界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

anomaly-detection

anomaly-detection

【效率与协作】Use Darts anomaly scorers, detectors, aggregators, and forecasting anomaly wrappers with correct score and label semantics.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: anomaly-detection description: "Use Darts anomaly scorers, detectors, aggregators, and forecasting anomaly wrappers with correct score and label semantics." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Anomaly detection

Use this sub-skill when the user needs Darts anomaly scores, binary anomaly detection, anomaly model wrappers around forecasts/filters, score alignment, or anomaly evaluation boundaries.

Read first

Route by task

  • Raw value anomaly scoring: choose a scorer such as KMeansScorer or another Darts scorer, fit on normal training data where required, then score validation/test.
  • Binary anomaly flags: fit a detector such as QuantileDetector, ThresholdDetector, or IQRDetector on normal score behavior, then detect validation scores.
  • Forecast residual anomalies: use ForecastingAnomalyModel or related wrapper around a Darts forecasting model; route model training to ../forecasting-workflows/ or ../torch-and-foundation-models/.
  • Evaluate anomaly outputs: separate continuous score evaluation from binary detector outputs; route metric details to ../evaluation-and-explainability/ when needed.

Safe check

python scripts/anomaly_smoke.py --json

The smoke uses generated normal/spike series and asserts scorer/detector output types, binary values, and window-shortened score length.

Boundaries

This sub-skill does not own time-series construction, forecasting model selection, or metric aggregation. It owns Darts anomaly API semantics and alignment. Do not treat anomaly scores as calibrated probabilities unless the chosen scorer/detector explicitly supports that interpretation.

我的收藏