-
Notifications
You must be signed in to change notification settings - Fork 53
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
Update the RDP for svt #27
base: master
Are you sure you want to change the base?
Conversation
@@ -11,7 +11,7 @@ | |||
|
|||
import numpy as np | |||
import math | |||
from autodp import utils | |||
from autodp import utils,logcomb, stable_logsumexp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't "logcomb" and "stable_logsumexp" from autodp.utils?
return ret_rdp | ||
if sigma * np.sqrt(3) > sigma_nu * 2: | ||
return ret_rdp | ||
# The code below Implements Proposition 10 in NeurIPS-20 with gamma=2, which requires |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the arxiv / paper link. there are many papers in NeurIPS-20 and many of them may contain a proposition 10
if sigma * np.sqrt(3) > sigma_nu * 2: | ||
return ret_rdp | ||
# The code below Implements Proposition 10 in NeurIPS-20 with gamma=2, which requires | ||
# (1) sigma_nu * 2*L2> sqrt{3}sigma_rho *L2 (2) queries are non-negative. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are you enforcing the non-negativity constraints so this will not be misused? A warning message or an "if" statement to check it?
Enable varied choice on the noise to perturb threshold and the noise to perturb the query.