def __init__(self, samples):
        self.samples = samples[-5:]
        assert self.samples
        self.average = sum(self.samples) / float(len(self.samples))
Returns the vector with feature weights normalized so that their sum is 1.0 (in-place).
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/read_preferences.py/MovingAverage.__init__--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/relative