Expand description
anomaly_score_zscore window function โ Z-Score-based anomaly scoring.
Algorithm: score = |x - mean(window)| / stddev(window)
When stddev = 0 (constant window), returns 0.0 if value equals mean, or +inf otherwise.
Structsยง
Constantsยง
- MIN_
SAMPLES ๐ - Minimum valid samples for zscore (stddev requires n >= 2).