6df9cbf6888fd1482ceeaf4316b60a9714b5ce82,demo/utils.py,,data_augmentation,#Any#Any#Any#Any#Any#,63

Before Change


    // elif type == "jsma":
    //

    x_aug = np.clip(x_aug, (-1,-1), (1, 1))

    return x_aug, y_aug

After Change


    // elif type == "jsma":
    //

    x_aug = np.clip(x_aug, (x[:, 0].min(), x[:, 1].min()), (x[:, 0].max(), x[:, 1].max()))

    return x_aug, y_aug
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 6df9cbf6888fd1482ceeaf4316b60a9714b5ce82
Time: 2017-07-03
Author: valentina.zantedeschi@ibm.com
File Name: demo/utils.py
Class Name:
Method Name: data_augmentation


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 369e143626d379e6ce61f24eef5626345c673fdc
Time: 2019-06-15
Author: beat.buesser@ie.ibm.com
File Name: art/defences/jpeg_compression.py
Class Name: JpegCompression
Method Name: __call__


Project Name: 7ossam81/EvoloPy
Commit Name: 4678e49d41959e8c66e656c3b4fca59e2dd11d1f
Time: 2019-03-08
Author: raneem.qaddoura@gmail.com
File Name: GA.py
Class Name:
Method Name: GA