1fa9a927d124deb2f67a2d0da4b84689d121a83d,imblearn/under_sampling/neighbourhood_cleaning_rule.py,NeighbourhoodCleaningRule,_sample,#NeighbourhoodCleaningRule#Any#Any#,74

Before Change


        X_resampled = np.concatenate((X_resampled, sel_x), axis=0)
        y_resampled = np.concatenate((y_resampled, sel_y), axis=0)

        self.logger.info("Under-sampling performed: {}".format(Counter(
            y_resampled)))

        // Check if the indices of the samples selected should be returned too
        if self.return_indices:

After Change


        X_resampled = np.concatenate((X_resampled, sel_x), axis=0)
        y_resampled = np.concatenate((y_resampled, sel_y), axis=0)

        self.logger.info("Under-sampling performed: %s", Counter(
            y_resampled))

        // Check if the indices of the samples selected should be returned too
        if self.return_indices:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 3

Instances


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/neighbourhood_cleaning_rule.py
Class Name: NeighbourhoodCleaningRule
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/nearmiss.py
Class Name: NearMiss
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/condensed_nearest_neighbour.py
Class Name: CondensedNearestNeighbour
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/cluster_centroids.py
Class Name: ClusterCentroids
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/tomek_links.py
Class Name: TomekLinks
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/random_under_sampler.py
Class Name: RandomUnderSampler
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/edited_nearest_neighbours.py
Class Name: RepeatedEditedNearestNeighbours
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/edited_nearest_neighbours.py
Class Name: EditedNearestNeighbours
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/instance_hardness_threshold.py
Class Name: InstanceHardnessThreshold
Method Name: _sample


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1fa9a927d124deb2f67a2d0da4b84689d121a83d
Time: 2016-07-05
Author: glemaitre@visor.udg.edu
File Name: imblearn/under_sampling/one_sided_selection.py
Class Name: OneSidedSelection
Method Name: _sample