5bb91bfefafbf9cc643aa1a3c7c4d8fdfec46e56,ml_tools/eolearn/ml_tools/classifier.py,ImageClassificationMaskTask,execute,#ImageClassificationMaskTask#Any#,477

Before Change


        :return: Outputs EOPatch with n classification masks appended to out_feature_type with out_feature_name key
        :rtype: EOPatch
        
        array = eopatch.get_feature(self.in_feature_type, self.in_feature_name)

        clf_mask = self.classifier.image_predict(array)

        eopatch.add_feature(self.out_feature_type, self.out_feature_name, clf_mask)

        return eopatch

After Change


        :return: Outputs EOPatch with n classification masks appended to out_feature_type with out_feature_name key
        :rtype: EOPatch
        
        in_type, in_name = next(self.input_feature(eopatch))
        out_type, out_name = next(self.input_feature())

        eopatch[out_type][out_name] = self.classifier.image_predict(eopatch[in_type][in_name])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: 5bb91bfefafbf9cc643aa1a3c7c4d8fdfec46e56
Time: 2018-08-08
Author: matej.aleksandrov@sinergise.com
File Name: ml_tools/eolearn/ml_tools/classifier.py
Class Name: ImageClassificationMaskTask
Method Name: execute


Project Name: sentinel-hub/eo-learn
Commit Name: 5bb91bfefafbf9cc643aa1a3c7c4d8fdfec46e56
Time: 2018-08-08
Author: matej.aleksandrov@sinergise.com
File Name: ml_tools/eolearn/ml_tools/postprocessing.py
Class Name: PostprocessingTask
Method Name: execute


Project Name: sentinel-hub/eo-learn
Commit Name: 8b773d6e66c85e57b1ddba28d01b197b3b2e6e0b
Time: 2018-12-03
Author: devis.peressutti@sinergise.com
File Name: features/eolearn/features/radiometric_normalization.py
Class Name: ReferenceScenes
Method Name: execute