Add StreamingStats functionality
Summary: This diff adds new capability to calculate statistics efficiently in a single pass. In particular, it uses Welford's algorithm to track an internal state such that variance and standard deviation can be obtained at O(1). The following statistics are available: - count - minimum - maximum - mean - sample and population variance - sample and population standard deviation Reviewed By: yfeldblum Differential Revision: D26667517 fbshipit-source-id: c4eb31e93646b9cff2f6516039170c8d88a5bf33
Showing
folly/stats/StreamingStats.h
0 → 100644
Please register or sign in to comment