Is there any package in `Julia`

to do exponential smoothing?

Iām not aware of one, but it should be a 1-liner using `TimeSeries`

Thank you. Can you write a small example of using your package?

OnlineStats does this: https://joshday.github.io/OnlineStats.jl/stable/weights/#OnlineStatsBase.ExponentialWeight

e.g.

```
julia> using OnlineStats
julia> x = randn(100);
julia> o = Mean(weight=ExponentialWeight(.1))
Mean: n=0 | value=0.0
julia> exp_smooth = [value(fit!(o, xi)) for xi in x]
```

3 Likes