class_docstr: Helper class for computing moving average and sliding window
class_docstr_tok: ["Helper","class","for","computing","moving","average","and","sliding","window"]
code: def __eq__(self, o):
      return (
          isinstance(o, MovingAverage)
          and o.slidingWindow == self.slidingWindow
          and o.total == self.total
          and o.windowSize == self.windowSize
      )
  
file_path: nupic-legacy/src/nupic/utils.py
imports: import numbers
  from nupic.serializable import Serializable
label_desc: Use image node_id 7 for calling the MovingAverage obj's underlying member method code with example usage: obj.__eq__(o) and returns: unknown