utils.tracker.welford#
Classes
A Tracker that applies Welford's Algorithm to estimate the mean and variance of a sequence. |
- class utils.tracker.welford.WelfordTracker[source]#
Bases:
TrackerA Tracker that applies Welford’s Algorithm to estimate the mean and variance of a sequence.
Notes
Taken and adapted from Ian Covert’s SAGE implementation.
- property mean#
Returns the mean of the stream.
- property std#
Returns the standard deviation of the stream.
- property var#
Returns the variance of the stream.