def __init__(self, classifier: "CLASSIFIER_TYPE") -> None:
        """
        Create a transformation object.

        :param classifier: A trained classifier.
        """
        self.classifier = classifier
        self._is_fitted = False

        Create a transformation object.

        :param classifier: A trained classifier.
        
art/defences/transformer/transformer.py