PrivacyConfigΒΆ
- class PrivacyConfig(target_delta: float, population_size: int, neighboring_relation: NeighboringRelation, sampling_method: SamplingMethod, max_epsilon: float | None = None)[source]ΒΆ
Bases:
objectConfigure cumulative client-level privacy accounting.
- Parameters:
target_delta (float) β Default delta used when reporting the cumulative epsilon.
population_size (int) β Size of the stable population from which clients are sampled.
neighboring_relation (NeighboringRelation) β Relation used to define neighboring client populations.
sampling_method (SamplingMethod) β Sampling model used by every composed privacy event.
max_epsilon (float or None) β Optional privacy-budget limit used for prospective checks.
Methods
Attributes
max_epsilontarget_deltapopulation_sizeneighboring_relationsampling_method