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

where did you implement the event_space generation feature? #4

Open
johnm32 opened this issue Apr 12, 2019 · 0 comments
Open

where did you implement the event_space generation feature? #4

johnm32 opened this issue Apr 12, 2019 · 0 comments

Comments

@johnm32
Copy link

johnm32 commented Apr 12, 2019

In your paper, you mentioned different kinds of methods for generating event space. But in the implementation of algorithms, it seems you already know which event is going to violate the differential privacy.

Take histogram for example, your implementation of the algorithm is:
def histogram(queries, epsilon): noisy_array = np.asarray(queries, dtype=np.float64) + np.random.laplace(scale=1.0 / epsilon, size=len(queries)) return noisy_array[0]

How do you know in advance that the quantization of the first element of the noisy vector would cause violation of differential privacy?

Thank you!

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

No branches or pull requests

1 participant