pysad.statistics.VarianceMeter¶
- class pysad.statistics.VarianceMeter[source]¶
The statistic that keeps track of the variance of the values. The variance formula is: (sum_squares - (sum**2)/count)/count.
- Attrs:
sum_meter (pyod.statistics.SumMeter object): SumMeter object. sum_squares_meter (pyod.statistics.SumSquaresMeter object): SumSquaresMeter object. count_meter (pyod.statistics.CountMeter object): CountMeter object.
Methods
__init__
()get
()Method to obtain the tracked statistic.
remove
(num)Updates the statistic by removing particular value.
update
(num)Updates the statistic with the value for a timestep.