Skip to content

Commit 380aae5

Browse files
author
Beat Buesser
committed
Adapt expectation value for HCLU
Signed-off-by: Beat Buesser <[email protected]>
1 parent bbc53e6 commit 380aae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/attacks/test_hclu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_GPy(self):
7373
self.assertGreater(clean_acc, adv_acc)
7474
# uncertainty should indeed be lower when used as a constraint
7575
# however, same as above, crafting might fail
76-
self.assertGreater(np.mean(unc_f > unc_o), 0.65)
76+
self.assertGreater(np.mean(unc_f > unc_o), 0.6)
7777

7878
# Check that x_test has not been modified by attack and classifier
7979
self.assertAlmostEqual(float(np.max(np.abs(x_test_original - self.x_test))), 0.0, delta=0.00001)

0 commit comments

Comments
 (0)