Browse Source

Resolve document alignment issues

tags/v1.0.0
liuluobin 5 years ago
parent
commit
3868fd413c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindarmour/diff_privacy/evaluation/membership_inference.py

+ 1
- 1
mindarmour/diff_privacy/evaluation/membership_inference.py View File

@@ -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


Loading…
Cancel
Save