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.
- Paramètres:
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