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

Update the RDP for svt #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update the RDP for svt #27

wants to merge 1 commit into from

Conversation

jeremy43
Copy link
Collaborator

Enable varied choice on the noise to perturb threshold and the noise to perturb the query.

@@ -11,7 +11,7 @@

import numpy as np
import math
from autodp import utils
from autodp import utils,logcomb, stable_logsumexp
Copy link
Owner

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
Copy link
Owner

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.
Copy link
Owner

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?

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