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