def classify(self, document, discrete=True):
        if self._model is None:
            self._train()
        return self._classify(document, probability=not discrete)
Returns the type with the highest probability for the given document.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/SVM.classify