Online algorithms for statistics.
OnlineStats is a Julia package which provides online algorithms for statistical models. Online algorithms are well suited for streaming data or when data is too large to hold in memory. Observations are processed one at a time and all algorithms use O(1) memory.
using OnlineStats y = randn(1000) s1 = Series(EqualWeight(), Mean()) s2 = Series(ExponentialWeight(.1), Mean()) for yi in y fit!(s1, yi) fit!(s2, yi) end
about 19 hours ago