ea42472d2f70c07387d9bb074f93e85acd3c88a7,nussl/separation/composite/ensemble_clustering.py,EnsembleClustering,extract_features,#EnsembleClustering#,85

Before Change


        features = self.extract_features_from_separators(separators)
        self._compute_spectrograms()
        features = features.reshape(-1, features.shape[-1])
        if self.scale_features:
            features = scale(features, axis=0)
        return features

After Change



                if self.extracted_feature == "masks":
                    _features = self._extract_features_from_masks(masks)
                elif self.extracted_feature == "estimates":
                    _features = self._extract_features_from_estimates(estimates)
                
                features.append(_features)
            
            current_signal = new_signals
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: ea42472d2f70c07387d9bb074f93e85acd3c88a7
Time: 2020-03-22
Author: prem@u.northwestern.edu
File Name: nussl/separation/composite/ensemble_clustering.py
Class Name: EnsembleClustering
Method Name: extract_features


Project Name: matplotlib/matplotlib
Commit Name: b18d16c13209a860f77a7dbad001cf472257cbb3
Time: 2018-07-09
Author: jklymak@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: get_tightbbox


Project Name: matplotlib/matplotlib
Commit Name: 01c41a0b7db17e42ff1169773743073fc610d7fb
Time: 2020-07-28
Author: jklymak@gmail.com
File Name: lib/matplotlib/tight_bbox.py
Class Name:
Method Name: adjust_bbox