@property
    def binary(self):
        return sorted(self.classes) in ([False, True], [0, 1])
Yields True if the classifier predicts either True (0) or False (1).
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Classifier.binary