Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sommerda authored Jan 26, 2021
1 parent 3b8d6b1 commit 204679c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@
# L_A/B(o) = log(factor) * number_of_buckets / 2
#
# then the mass Pr[ L_A/B(o) > mass_infinity_bucket, o <- distribution_A] will be put into the infinity bucket.
# The infinity-bucket gros exponentially with the number of compositions. Chose the factor according to the
# The infinity-bucket grows exponentially with the number of compositions. Chose the factor according to the
# probability mass you want to tolerate in the inifity bucket. For this example, the minimal factor should be
#
# log(factor) > eps
# log(factor) > eps / ( number_of_buckets / 2 )
#
# as for randomized response, there is no privacy loss L_A/B greater than epsilon (excluding delta/infinity-bucket).
# as for randomized response, there is no privacy loss L_A/B greater than epsilon (excluding delta/infinity-bucket),
# and we want to avoid putting probability mass with non-infinity privacy loss in the infinity_bucket.
# We set the factor to
factor = 1 + 1e-4

Expand Down

0 comments on commit 204679c

Please sign in to comment.