We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8783ea6 commit eee356fCopy full SHA for eee356f
tests/attacks/inference/attribute_inference/test_meminf_based.py
@@ -351,8 +351,8 @@ def transform_feature(x):
351
# check accuracy
352
train_acc = np.sum(inferred_train == x_train_feature.reshape(1, -1)) / len(inferred_train)
353
test_acc = np.sum(inferred_test == x_test_feature.reshape(1, -1)) / len(inferred_test)
354
- assert 0.3 <= train_acc
355
- assert 0.3 <= test_acc
+ assert 0.1 <= train_acc
+ assert 0.1 <= test_acc
356
357
except ARTTestException as e:
358
art_warning(e)
0 commit comments