Skip to content

Commit 993d8b2

Browse files
committed
ran pre-commit hooks
1 parent deb2fa4 commit 993d8b2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

methods/catalog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from .greedy import Greedy
1515
from .growing_spheres import GrowingSpheres
1616
from .mace import MACE
17-
from .rbr import RBR
1817
from .probe import Probe
18+
from .rbr import RBR
1919
from .revise import Revise
2020
from .roar import Roar
2121
from .wachter import Wachter

methods/catalog/probe/library/probe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ def probe_recourse(
177177
costs = []
178178
ces = []
179179

180-
random_samples = reparametrization_trick(x_new, noise_variance, device, n_samples=1000)
180+
random_samples = reparametrization_trick(
181+
x_new, noise_variance, device, n_samples=1000
182+
)
181183
invalidation_rate = compute_invalidation_rate(torch_model, random_samples)
182184

183185
while (f_x_new <= DECISION_THRESHOLD) or (

0 commit comments

Comments
 (0)