d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352,art/defences/preprocessor/variance_minimization.py,TotalVarMin,__init__,#TotalVarMin#Any#Any#Any#Any#Any#Any#Any#Any#,54

Before Change


        self._is_fitted = True
        self._apply_fit = apply_fit
        self._apply_predict = apply_predict
        self.set_params(
            prob=prob,
            norm=norm,
            lamb=lamb,
            solver=solver,
            max_iter=max_iter,
            clip_values=clip_values,
        )

    @property
    def apply_fit(self) -> bool:
        return self._apply_fit

After Change


        self._apply_fit = apply_fit
        self._apply_predict = apply_predict
        self.prob = prob
        self.norm = norm
        self.lamb = lamb
        self.solver = solver
        self.max_iter = max_iter
        self.clip_values = clip_values
        self._check_params()

    @property
    def apply_fit(self) -> bool:
        return self._apply_fit
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 8

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/variance_minimization.py
Class Name: TotalVarMin
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/thermometer_encoding.py
Class Name: ThermometerEncoding
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/variance_minimization.py
Class Name: TotalVarMin
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 1f3ea3d9a04c6ded7104abeaaf3cc77cb41f0a3a
Time: 2020-05-24
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/resample.py
Class Name: Resample
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/pixel_defend.py
Class Name: PixelDefend
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/spatial_smoothing.py
Class Name: SpatialSmoothing
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/gaussian_augmentation.py
Class Name: GaussianAugmentation
Method Name: __init__


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d8366377f8ae2ba3ddb89bbe15ceb96e5fbb0352
Time: 2020-05-09
Author: irinutza.n@gmail.com
File Name: art/defences/preprocessor/jpeg_compression.py
Class Name: JpegCompression
Method Name: __init__