ScaffoldHeterogeneityCorrection<T>
Models & Types · AiDotNet.FederatedLearning.Heterogeneity
SCAFFOLD-style heterogeneity correction using control variates.
Inheritance: FederatedLearningComponentBase<T> → FederatedHeterogeneityCorrectionBase<T> → ScaffoldHeterogeneityCorrection<T>
How It Works
For Beginners: SCAFFOLD reduces client drift by tracking “control variates” that estimate how each client’s local training differs from the global direction.
Constructors
| Constructor | Summary |
|---|---|
ScaffoldHeterogeneityCorrection(double clientLearningRate) |
Methods
| Method | Summary |
|---|---|
Vector<T> Correct(int clientId, int roundNumber, Vector<T> globalParameters, Vector<T> localParameters, int localEpochs) |
|
string GetCorrectionName() |