-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to control the privacy budget #2
Comments
Hi @TeDiou If you set private = True, then you enable the training with DP. And for calculate privacy budget, the code block is starting from here:
And from this line of code:
You can see that to calculate RDP, the batch_size, dataset size, sigma and training steps are four features influencing the privacy budget. then in the following line:
Epsilon is the privacy budget, can you add an if in the beginning of the loop to control the training only if the epsilon is less than a certain value. Hope that solves your question. |
Thanks for your answer! |
Sorry to bother u, why this dp-synthesizer.sample method is different from the ctabganplus.sample 。The two models differ only in a privacy module. However, in ctabganplusdp, the generation part requires multiple loops for generation. |
Hi @TeDiou |
I got that. Thanks a lot!_ |
As we set the private = True, in your source code it only calculates the privacy budget. How can we control the privacy budget? By adding a if statement?
The text was updated successfully, but these errors were encountered: