c704d97e32f129e7c06616c8f110a14ee50d7f7b,art/attacks/evasion/saliency_map.py,SaliencyMapMethod,__init__,#SaliencyMapMethod#Any#Any#Any#Any#,46
Before Change
super(SaliencyMapMethod, self).__init__(classifier)
if not isinstance(classifier, ClassifierGradients):
raise (
TypeError(
"For `" + self.__class__.__name__ + "` classifier must be an instance of "
"`art.classifiers.classifier.ClassifierGradients`, the provided classifier is instance of "
+ str(classifier.__class__.__bases__)
+ ". "
" The classifier needs to provide gradients."
)
)
kwargs = {"theta": theta, "gamma": gamma, "batch_size": batch_size}
self.set_params(**kwargs)
After Change
super(SaliencyMapMethod, self).__init__(classifier)
if not isinstance(classifier, ClassifierGradients):
raise utils.WrongClassifier(self.__class__, [ClassifierGradients], classifier)
kwargs = {"theta": theta, "gamma": gamma, "batch_size": batch_size}
self.set_params(**kwargs)
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 15
Instances
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: c704d97e32f129e7c06616c8f110a14ee50d7f7b
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/saliency_map.py
Class Name: SaliencyMapMethod
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 28fd2439d337edd6f25c0f02854619c5e10772b2
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/elastic_net.py
Class Name: ElasticNet
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 9da823190acf4839d1fcb48ec5a32f23230516bb
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/virtual_adversarial.py
Class Name: VirtualAdversarialMethod
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 500fb53ec7799f2bf32c792e64f54eedead3d168
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/universal_perturbation.py
Class Name: UniversalPerturbation
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 9b0d6ab055ca9a87e6e9cb9999ec41c25c1fafa7
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/adversarial_patch.py
Class Name: AdversarialPatch
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7a56d21816971ce59cbfe8b033e236082b52c46c
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/projected_gradient_descent.py
Class Name: ProjectedGradientDescent
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 2c115fdeea266699d11e3f8a2ab3e3dab4c39b63
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/deepfool.py
Class Name: DeepFool
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: f00a6b4184e2ec28bec2108897ad87d4b67a4cac
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/carlini.py
Class Name: CarliniLInfMethod
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 3cec4d5657b1dcfad87620690734ea8e90f17499
Time: 2020-02-21
Author: killian.levacher@ibm.com
File Name: art/attacks/evasion/carlini.py
Class Name: CarliniL2Method
Method Name: __init__