pub struct WelfordAccumulator { /* private fields */ }Expand description
Incremental statistics computation for streaming data processing.
This module provides bounded-memory statistical computation using:
- Welford’s algorithm for numerically stable variance/stddev (O(1) memory)
- HyperLogLog for approximate distinct counts (~16 KB fixed registers)
- Reservoir sampling for unbiased samples (fixed capacity; total memory depends on the capacity and the length of sampled strings)
- Streaming text-length tracking with min/max/mean/histogram (O(1) memory)
Implementations§
Trait Implementations§
Source§impl Clone for WelfordAccumulator
impl Clone for WelfordAccumulator
Source§fn clone(&self) -> WelfordAccumulator
fn clone(&self) -> WelfordAccumulator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WelfordAccumulator
impl Debug for WelfordAccumulator
Auto Trait Implementations§
impl Freeze for WelfordAccumulator
impl RefUnwindSafe for WelfordAccumulator
impl Send for WelfordAccumulator
impl Sync for WelfordAccumulator
impl Unpin for WelfordAccumulator
impl UnsafeUnpin for WelfordAccumulator
impl UnwindSafe for WelfordAccumulator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more