← all blocks Try in builder
feature-transform · v1.0.0
Exponential Moving Average
Compute an exponentially weighted moving average of a numeric column, optionally partitioned by a group key and ordered by a sortable key. Pure, leakage-safe; the EMA at row t uses only rows ≤ t within its group.
Contract
- Input:
- Frame
- Output:
- Frame
- Determinism:
- pure
- Side effects:
- none
- Leakage window:
- 0s
Params (live form)
JSON
{
"valueColumn": "points_scored",
"outputColumn": "points_ema",
"groupColumn": "team_id",
"orderColumn": "game_date",
"alpha": 0.3,
"seed": "first"
}Examples
- Smooth a team-level points-per-game series into a slow-moving form indicator.
- Smooth a single ordered sequence with stronger reactivity (alpha=0.6).
