IFederatedHeterogeneityCorrection<T>

Interfaces · AiDotNet.Interfaces

Applies a heterogeneity correction transform to client updates in federated learning.

Known implementations: FederatedHeterogeneityCorrectionBase<T>

How It Works

For Beginners: Some federated algorithms change how client updates are interpreted before the server aggregates them. This interface lets AiDotNet swap in different correction methods while keeping the public facade simple.

Methods

Method Summary
Vector<T> Correct(int clientId, int roundNumber, Vector<T> globalParameters, Vector<T> localParameters, int localEpochs) Returns corrected client parameters to be used for aggregation.
string GetCorrectionName() Gets the name of the correction method.