Expand description
Exponentially weighted mean.
Time complexity per update: O(1). Space complexity: O(1).
The update rule is mean = alpha * x + (1 - alpha) * mean. The first
observation seeds the mean directly.
Structsยง
- Exponentially
Weighted Mean - Exponentially weighted moving average.