f1e415f5719f9175e3dd59b447de17ef0c40fe76,skimage/feature/peak.py,,peak_local_max,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,22

Before Change


        labels_copy = labels_copy.astype(np.int32)

        // New values for new ordering
        label_values = np.unique(labels_copy)
        for label in label_values[label_values != 0]:
            maskim = (labels_copy == label)
            out += peak_local_max(image * maskim, min_distance=min_distance,
                                  threshold_abs=threshold_abs,

After Change


    // operating on each label separately
    if labels is not None:
        labels = relabel_sequential(labels)[0]
        for label in range(1, labels.max()+1):
            maskim = labels == label
            out += peak_local_max(image * maskim, min_distance=min_distance,
                                  threshold_abs=threshold_abs,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-image/scikit-image
Commit Name: f1e415f5719f9175e3dd59b447de17ef0c40fe76
Time: 2016-10-20
Author: metz.jp@gmail.com
File Name: skimage/feature/peak.py
Class Name:
Method Name: peak_local_max


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: eb3d55ff9f6a55fb97dd1cd06e441f4fbd351e7f
Time: 2018-03-20
Author: jacob.montiel@gmail.com
File Name: skmultiflow/classification/meta/adaptive_random_forests.py
Class Name: AdaptiveRandomForest
Method Name: predict


Project Name: rasbt/mlxtend
Commit Name: e8f319b0be1d8c9c390168481b91e26bfd142e5c
Time: 2016-02-12
Author: mail@sebastianraschka.com
File Name: mlxtend/preprocessing/onehot.py
Class Name:
Method Name: one_hot