Generate your anomaly test with Elementary AI
Let our Slack chatbot create the anomaly test you need.
- Default: 2 days
- Relevant tests: Anomaly detection tests with
timestamp_column

How it works?
Thedetection_period param only works for tests that have timestamp_column configuration.
It works differently according to the table materialization:
- Regular tables and views -
detection_perioddefines the detection period. - Incremental models and sources -
detection_perioddefines the detection period, and the period for which metrics will be re-calculated.
detection_period spans multiple time buckets (e.g., 7 days), it can overlap with the training period. By default, values in the detection period are included in the training calculation, which can lead to false negatives. To prevent this overlap, use exclude_detection_period_from_training set to true.
