ecba524848a100e99b461a10daf5f566323515fc,art/poison_detection/poison_filtering_defence.py,PoisonFilteringDefence,set_params,#PoisonFilteringDefence#,81

Before Change


        for key, value in kwargs.items():
            if key in self.defence_params:
                setattr(self, key, value)
        if hasattr(self, "_check_params"):
            self._check_params()

    def get_params(self) -> Dict[str, Any]:
        
        Returns dictionary of parameters used to run defence.

After Change


        for key, value in kwargs.items():
            if key in self.defence_params:
                setattr(self, key, value)
        self._check_params()

    def get_params(self) -> Dict[str, Any]:
        
        Returns dictionary of parameters used to run defence.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: ecba524848a100e99b461a10daf5f566323515fc
Time: 2020-05-19
Author: irinutza.n@gmail.com
File Name: art/poison_detection/poison_filtering_defence.py
Class Name: PoisonFilteringDefence
Method Name: set_params


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: ecba524848a100e99b461a10daf5f566323515fc
Time: 2020-05-19
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/preprocessor.py
Class Name: Preprocessor
Method Name: set_params


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: ecba524848a100e99b461a10daf5f566323515fc
Time: 2020-05-19
Author: irinutza.n@gmail.com
File Name: art/defences/transformer/transformer.py
Class Name: Transformer
Method Name: set_params


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: ecba524848a100e99b461a10daf5f566323515fc
Time: 2020-05-19
Author: irinutza.n@gmail.com
File Name: art/defences/postprocessor/postprocessor.py
Class Name: Postprocessor
Method Name: set_params