sunchang0124 / dp_cgans

A library to generate synthetic tabular or RDF data using Conditional Generative Adversary Networks (GANs) combined with Differential Privacy techniques.
MIT License
34 stars 10 forks source link

How to control the privacy budget #8

Open TeDiou opened 10 months ago

TeDiou commented 10 months ago

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?

sunchang0124 commented 5 months ago

Hi, you can give the exact number to the privacy parameter such as 0.1, 0.001, etc (the smaller privacy budget, the more privacy protect you give). Thanks