|
|
@@ -40,7 +40,12 @@ class PrivacyMonitorFactory: |
|
|
|
|
|
|
|
Args: |
|
|
|
policy (str): Monitor policy, 'rdp' and 'zcdp' are supported |
|
|
|
by now. |
|
|
|
by now. If policy is 'rdp', the monitor will compute the |
|
|
|
privacy budget of DP training based on Renyi differential |
|
|
|
privacy theory; If policy is 'zcdp', the monitor will compute |
|
|
|
the privacy budget of DP training based on zero-concentrated |
|
|
|
differential privacy theory. It's worth noting that 'zcdp' |
|
|
|
is not suitable for subsampling nosie mechanism. |
|
|
|
args (Union[int, float, numpy.ndarray, list, str]): Parameters |
|
|
|
used for creating a privacy monitor. |
|
|
|
kwargs (Union[int, float, numpy.ndarray, list, str]): Keyword |
|
|
|