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)
After Change
: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])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
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: 3351dc52547d6a274a4dcabe0f4281dfa9d83c2b
Time: 2018-08-16
Author: matej.aleksandrov@sinergise.com
File Name: io/eolearn/io/local_io.py
Class Name: ExportToTiff
Method Name: execute
Project Name: sentinel-hub/eo-learn
Commit Name: cb7879424b6b1fa88a177cecc06a97c53cb72d5a
Time: 2018-08-08
Author: matej.aleksandrov@sinergise.com
File Name: geometry/eolearn/geometry/sampling.py
Class Name: PointSamplingTask
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