def classify(self, document, discrete=True):
        # This method must be implemented in subclass.
        if not discrete:
            return defaultdict(float)
        return self.baseline
Returns the type with the highest probability for the given document.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Classifier.classify