PrivacyConfig¶
- class PrivacyConfig(target_delta: float, population_size: int, neighboring_relation: NeighboringRelation, sampling_method: SamplingMethod, max_epsilon: float | None = None)[소스]¶
기반 클래스:
objectConfigure cumulative client-level privacy accounting.
- 매개변수:
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.
메소드
속성
max_epsilontarget_deltapopulation_sizeneighboring_relationsampling_method