File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def __init__(
6868 """
6969 # pylint: disable=W0231
7070
71- # re-implement init such that inherrited methods work
71+ # re-implement init such that inherited methods work
7272 EvasionAttack .__init__ (self , estimator = estimator ) # pylint: disable=W0233
7373 self .masker = None
7474 self .eps = eps
@@ -81,6 +81,12 @@ def __init__(
8181 # set remaining stage 2 params to some random values
8282 self .alpha = 0.1
8383 self .learning_rate_2 = 0.1
84- self ._loss_theta_min = 0.0
84+ self .loss_theta_min = 0.0
85+ self .decrease_factor_eps : float = 1.0
86+ self .num_iter_decrease_eps : int = 1
87+ self .increase_factor_alpha : float = 1.0
88+ self .num_iter_increase_alpha : int = 1
89+ self .decrease_factor_alpha : float = 1.0
90+ self .num_iter_decrease_alpha : int = 1
8591
8692 self ._check_params ()
You can’t perform that action at this time.
0 commit comments