GaussianPrivacyEvent¶
- class GaussianPrivacyEvent(noise_multiplier: float, sample_size: int, population_size: int)[source]¶
Bases:
objectDescribe one or more identical sampled Gaussian releases.
For Poisson sampling,
sample_size / population_sizeis the expected sampling probability. For sampling without replacement,sample_sizeis the exact sample size. With no amplification, the sampling metadata is retained for reporting but does not reduce the accounted privacy cost.Methods
Attributes
noise_multipliersample_sizepopulation_size