Documentation | Master Build | Test Coverage |
---|---|---|
OnlineStats is a Julia package which provides online algorithms for statistics, models, and data visualization. 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.
o1 = Mean()
o2 = Mean(weight = n -> .1)
for yi in y
fit!(o1, yi)
fit!(o2, yi)
end
import Pkg
Pkg.add("OnlineStats")
using OnlineStats
o = Series(Mean(), Variance(), P2Quantile(), Extrema())
fit!(o, randn(10^6))