def train(self, document, type=None):
        type, vector = self._vector(document, type)
        self._vectors.append((type, vector))
        self._classes[type] = self._classes.get(type, 0) + 1
Returns the average of the field in the result set of the query
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Classifier.train--crossover with--dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/Query.avg