class_docstr: Tracks quantities for numerically stable mean and variance calculation.
class_docstr_tok: ["Tracks","quantities","for","numerically","stable","mean","and","variance","calculation","."]
code: def __init__(self):
      self.count = 0
      self.mean = 0.0
      self.variance = 0.0
      self.weights_mean = 0.0
  
imports: from typing import Optional
  import numpy
label_desc: Use image node_id 1 to create a new WeightedMeanVarAccumulator object from inherited base classes: object with example: obj = WeightedMeanVarAccumulator()