@@ -93,7 +93,7 @@ def test_black_box_keras_loss(art_warning, get_iris_dataset):
9393
9494 classifier = KerasClassifier (model2 )
9595 attack = MembershipInferenceBlackBox (classifier , input_type = "loss" )
96- backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.15 )
96+ backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.25 )
9797 except ARTTestException as e :
9898 art_warning (e )
9999
@@ -112,7 +112,7 @@ def test_black_box_tabular_gb(art_warning, tabular_dl_estimator_for_attack, get_
112112 classifier = tabular_dl_estimator_for_attack (MembershipInferenceBlackBox )
113113 attack = MembershipInferenceBlackBox (classifier , attack_model_type = "gb" )
114114 # train attack model using only attack_train_ratio of data
115- backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.15 )
115+ backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.25 )
116116 except ARTTestException as e :
117117 art_warning (e )
118118
@@ -124,7 +124,7 @@ def test_black_box_with_model(art_warning, tabular_dl_estimator_for_attack, esti
124124 attack_model = estimator_for_attack (num_features = 2 * num_classes_iris )
125125 print (type (attack_model ).__name__ )
126126 attack = MembershipInferenceBlackBox (classifier , attack_model = attack_model )
127- backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.15 )
127+ backend_check_membership_accuracy (attack , get_iris_dataset , attack_train_ratio , 0.25 )
128128 except ARTTestException as e :
129129 art_warning (e )
130130
0 commit comments