def train(self, document, type=None):
        Classifier.train(self, document, type)
        self._trained = False
Trains the classifier with the given document of the given type (i.e., class).
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/BPNN.train