BasicCompositionPrivacyAccountant
Models & Types · AiDotNet.FederatedLearning.Privacy.Accounting
Privacy accountant using basic (naive) composition.
Inheritance: FederatedLearningComponentBase<double> → PrivacyAccountantBase → BasicCompositionPrivacyAccountant
How It Works
For Beginners: Basic composition simply adds up privacy spend across rounds:
- epsilon_total = sum(epsilon_round)
- delta_total = sum(delta_round)
This is simple but can be pessimistic compared to tighter accountants.
Constructors
| Constructor | Summary |
|---|---|
BasicCompositionPrivacyAccountant() |
Methods
| Method | Summary |
|---|---|
double GetEpsilonAtDelta(double targetDelta) |
|
double GetTotalDeltaConsumed() |
|
double GetTotalEpsilonConsumed() |
|
string GetAccountantName() |
|
void AddRound(double epsilon, double delta, double samplingRate) |