Method · Forecasting · ewma_fitAs of 1 Dec
EWMA fit (simple exponential smoothing)
level update: levelₜ = levelₜ₋₁ + α·(xₜ - levelₜ₋₁); α chosen by deterministic grid search over 0.05–0.95 (step 0.05) minimizing one-step-ahead squared error when not given explicitly
WindowCaller-supplied series in chronological order. Minimum n— Used byewma_forecast (below); indirectly, the forecast engine.
Limitations
Needs ≥ 4 clean points or returns None. The grid search always picks the same α for the same data (ties go to the smaller α) — deterministic, no randomness, per ADR-105's 'deterministic computation before any LLM verdict' rule.