Commit be659c2f authored by Ilya Mironov's avatar Ilya Mironov
Browse files

Tweaking text and comments.

parent bc0edaf8
...@@ -186,7 +186,7 @@ def analyze_gnmax_conf_data_dep(votes, threshold, sigma1, sigma2, delta): ...@@ -186,7 +186,7 @@ def analyze_gnmax_conf_data_dep(votes, threshold, sigma1, sigma2, delta):
ss=rdp_ss[order_idx], ss=rdp_ss[order_idx],
delta=-math.log(delta) / (order_opt[i] - 1)) delta=-math.log(delta) / (order_opt[i] - 1))
ss_std_opt[i] = ss_std[order_idx] ss_std_opt[i] = ss_std[order_idx]
if i > 0 and (i + 1) % 10 == 0: if i > 0 and (i + 1) % 1 == 0:
print('queries = {}, E[answered] = {:.2f}, E[eps] = {:.3f} +/- {:.3f} ' print('queries = {}, E[answered] = {:.2f}, E[eps] = {:.3f} +/- {:.3f} '
'at order = {:.2f}. Contributions: delta = {:.3f}, step1 = {:.3f}, ' 'at order = {:.2f}. Contributions: delta = {:.3f}, step1 = {:.3f}, '
'step2 = {:.3f}, ss = {:.3f}'.format( 'step2 = {:.3f}, ss = {:.3f}'.format(
......
...@@ -15,7 +15,7 @@ dataset. ...@@ -15,7 +15,7 @@ dataset.
The framework consists of _teachers_, the _student_ model, and the _aggregator_. The 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 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 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 outputs of the teacher models, and either forwards a (noisy) aggregate to the student, or
refuses to answer. refuses to answer.
...@@ -57,13 +57,13 @@ $ python smooth_sensitivity_test.py ...@@ -57,13 +57,13 @@ $ python smooth_sensitivity_test.py
## Files in this directory ## 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). Threshold, Laplace).
* smooth_sensitivity.py --- Smooth sensitivity analysis for GNMax and * smooth_sensitivity.py — Smooth sensitivity analysis for GNMax and
Threshold mechanisms. 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. files above.
## Contact information ## Contact information
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
# ============================================================================== # ==============================================================================
"""Tests for google3.experimental.brain.privacy.pate.pate.""" """Tests for pate.core."""
from __future__ import absolute_import from __future__ import absolute_import
from __future__ import division from __future__ import division
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# limitations under the License. # 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 absolute_import
from __future__ import division from __future__ import division
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment