diff --git a/mindarmour/diff_privacy/evaluation/membership_inference.py b/mindarmour/diff_privacy/evaluation/membership_inference.py index 5e7f152b848961f1c093afaad6449ec99d909836..c27882d9858776516402bed6d2feed6b0cc52eb0 100755 --- a/mindarmour/diff_privacy/evaluation/membership_inference.py +++ b/mindarmour/diff_privacy/evaluation/membership_inference.py @@ -132,7 +132,7 @@ class MembershipInference: dataset_test (mindspore.dataset): The test set for the target model. attack_config (list): Parameter setting for the attack model. The format is [{"method": "knn", "params": {"n_neighbors": [3, 5, 7]}}, - {"method": "lr", "params": {"C": np.logspace(-4, 2, 10)}}]. + {"method": "lr", "params": {"C": np.logspace(-4, 2, 10)}}]. The support methods list is in self.method_list, and the params of each method must within the range of changeable parameters. Tips of params implement can be found in