Skip to content

Update the RDP for svt#27

Open
jeremy43 wants to merge 1 commit intomasterfrom
jeremy43-patch-1
Open

Update the RDP for svt#27
jeremy43 wants to merge 1 commit intomasterfrom
jeremy43-patch-1

Conversation

@jeremy43
Copy link
Collaborator

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

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