![]() |
Compute epsilon based on the given hyperparameters.
tf_privacy.compute_dp_sgd_privacy(
n, batch_size, noise_multiplier, epochs, delta
)
Args | |
---|---|
n
|
Number of examples in the training data. |
batch_size
|
Batch size used in training. |
noise_multiplier
|
Noise multiplier used in training. |
epochs
|
Number of epochs in training. |
delta
|
Value of delta for which to compute epsilon. |
Returns | |
---|---|
Value of epsilon corresponding to input hyperparameters. |