Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
be659c2f
Commit
be659c2f
authored
May 07, 2018
by
Ilya Mironov
Browse files
Tweaking text and comments.
parent
bc0edaf8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
research/differential_privacy/pate/ICLR2018/plot_partition.py
...arch/differential_privacy/pate/ICLR2018/plot_partition.py
+1
-1
research/differential_privacy/pate/README.md
research/differential_privacy/pate/README.md
+4
-4
research/differential_privacy/pate/core_test.py
research/differential_privacy/pate/core_test.py
+1
-1
research/differential_privacy/pate/smooth_sensitivity_test.py
...arch/differential_privacy/pate/smooth_sensitivity_test.py
+1
-1
No files found.
research/differential_privacy/pate/ICLR2018/plot_partition.py
View file @
be659c2f
...
...
@@ -186,7 +186,7 @@ def analyze_gnmax_conf_data_dep(votes, threshold, sigma1, sigma2, delta):
ss
=
rdp_ss
[
order_idx
],
delta
=-
math
.
log
(
delta
)
/
(
order_opt
[
i
]
-
1
))
ss_std_opt
[
i
]
=
ss_std
[
order_idx
]
if
i
>
0
and
(
i
+
1
)
%
1
0
==
0
:
if
i
>
0
and
(
i
+
1
)
%
1
==
0
:
print
(
'queries = {}, E[answered] = {:.2f}, E[eps] = {:.3f} +/- {:.3f} '
'at order = {:.2f}. Contributions: delta = {:.3f}, step1 = {:.3f}, '
'step2 = {:.3f}, ss = {:.3f}'
.
format
(
...
...
research/differential_privacy/pate/README.md
View file @
be659c2f
...
...
@@ -15,7 +15,7 @@ dataset.
The framework consists of _teachers_, the _student_ model, and the _aggregator_. The
teachers are models trained on disjoint subsets of the training datasets. The student
model has access to an insensitive (
i.e
., public) unlabelled dataset, which is labelled by
model has access to an insensitive (
e.g
., public) unlabelled dataset, which is labelled by
interacting with the ensemble of teachers via the _aggregator_. The aggregator tallies
outputs of the teacher models, and either forwards a (noisy) aggregate to the student, or
refuses to answer.
...
...
@@ -57,13 +57,13 @@ $ python smooth_sensitivity_test.py
## Files in this directory
*
core.py
---
RDP privacy accountant for several vote aggregators (GNMax,
*
core.py
—
RDP privacy accountant for several vote aggregators (GNMax,
Threshold, Laplace).
*
smooth_sensitivity.py
---
Smooth sensitivity analysis for GNMax and
*
smooth_sensitivity.py
—
Smooth sensitivity analysis for GNMax and
Threshold mechanisms.
*
core_test.py and smooth_sensitivity_test.py
---
Unit tests for the
*
core_test.py and smooth_sensitivity_test.py
—
Unit tests for the
files above.
## Contact information
...
...
research/differential_privacy/pate/core_test.py
View file @
be659c2f
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
# ==============================================================================
"""Tests for
google3.experimental.brain.privacy.
pate.
pat
e."""
"""Tests for pate.
cor
e."""
from
__future__
import
absolute_import
from
__future__
import
division
...
...
research/differential_privacy/pate/smooth_sensitivity_test.py
View file @
be659c2f
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
# ==============================================================================
"""Tests for
google3.experimental.brain.privacy.pate.pate_
smooth_sensitivity."""
"""Tests for
pate.
smooth_sensitivity."""
from
__future__
import
absolute_import
from
__future__
import
division
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment