87cc11bfd1956d6e1581b5e17aa083895ebc8586,ilastik/applets/edgeTraining/opEdgeTraining.py,OpComputeEdgeFeatures,execute,#OpComputeEdgeFeatures#Any#Any#Any#Any#,213

Before Change


            feature_data.append( feature_array )

        // Concatenate features from all channels
        feature_data_array = np.concatenate(feature_data, axis=1)
        result[0] = feature_data_array
 
    def propagateDirty(self, slot, subindex, roi):
        self.EdgeFeatures.setDirty()

After Change


            
        // Could use join() or merge() here, but we know the rows are already in the right order, and concat() should be faster.
        all_edge_features_df = pd.DataFrame( rag.edge_ids, columns=["sp1", "sp2"] )
        all_edge_features_df = pd.concat([all_edge_features_df] + edge_feature_dfs, axis=1, copy=False)
        result[0] = all_edge_features_df
 
    def propagateDirty(self, slot, subindex, roi):
        self.EdgeFeaturesDataFrame.setDirty()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 87cc11bfd1956d6e1581b5e17aa083895ebc8586
Time: 2016-04-09
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/edgeTraining/opEdgeTraining.py
Class Name: OpComputeEdgeFeatures
Method Name: execute


Project Name: keras-team/keras
Commit Name: dad71ab422adaccc93d4b239cd15feaa87ec4073
Time: 2021-04-13
Author: scottzhu@google.com
File Name: keras/layers/preprocessing/discretization.py
Class Name:
Method Name: merge_summaries


Project Name: kwgoodman/numerox
Commit Name: 1b02bc7d4302cb2f5a6bb3f34e5fd81d9afbbba0
Time: 2017-10-19
Author: kwgoodman@gmail.com
File Name: numerai/data.py
Class Name:
Method Name: load_zip