def __init__(self, input_feature, output_feature, classifier):
        """ Run a classification task on a EOPatch feature

            Classifier is an instance of the ImageBaseClassifier that maps [w, h, d] numpy arrays (d-channel images)
            into [w, h, 1] numpy arrays (classification masks).

            :param input_feature: Feature which will be classified
            :type input_feature: (FeatureType, str)
            :param output_feature: Feature where classification results will be saved
            :type output_feature: (FeatureType, str)
            :param classifier: A classifier that works over [n, w, h, d]-dimensional numpy arrays.
            :type classifier: ImageBaseClassifier
        """
        self.input_feature = self._parse_features(input_feature)
        self.output_feature = self._parse_features(output_feature)
        self.classifier = classifier
def __init__ ( self , input_feature , output_feature , classifier ) : self . input_feature = self . _parse_features ( input_feature ) self . output_feature = self . _parse_features ( output_feature ) self . classifier = classifier
Run a classification task on a EOPatch feature

            Classifier is an instance of the ImageBaseClassifier that maps [w, h, d] numpy arrays (d-channel images)
            into [w, h, 1] numpy arrays (classification masks).

            :param input_feature: Feature which will be classified
            :type input_feature: (FeatureType, str)
            :param output_feature: Feature where classification results will be saved
            :type output_feature: (FeatureType, str)
            :param classifier: A classifier that works over [n, w, h, d]-dimensional numpy arrays.
            :type classifier: ImageBaseClassifier