Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Additive mechanism from standard deviation #470

Merged
merged 10 commits into from
Jul 26, 2023
Merged

Creating Additive mechanism from standard deviation #470

merged 10 commits into from
Jul 26, 2023

Conversation

dvadym
Copy link
Collaborator

@dvadym dvadym commented Jul 14, 2023

Before this PR, it was possible to create AdditiveMechanism (Laplace or Gausisan) only from (eps, delta). This PR implements possibility to create from sttdev. It's needed for using PLD for budget accounting, which will be added in the subsequent PR.

@dvadym dvadym changed the title (WIP) Using PLD Creating Additive mechanism from standard deviation Jul 24, 2023
return (f"Gaussian mechanism: parameter={self.noise_parameter} eps="
f"{self._mechanism.epsilon} delta={self._mechanism.delta} "
f"l2_sensitivity={self.sensitivity}")
if self._mechanism.epsilon > 0: # todo comment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a forgotten TODO

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed.

@dvadym
Copy link
Collaborator Author

dvadym commented Jul 26, 2023

Thanks for review!

@dvadym dvadym merged commit 4606777 into main Jul 26, 2023
7 of 11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the pld1 branch July 26, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants