FedAvgFullModelAggregationStrategy<T, TInput, TOutput>

Models & Types · AiDotNet.FederatedLearning.Aggregators

FedAvg aggregation for IFullModel using vector-based parameters.

Inheritance: FederatedLearningComponentBase<T> → AggregationStrategyBase<IFullModel<T, TInput, TOutput>, T> → FedAvgFullModelAggregationStrategy<T, TInput, TOutput>

For Beginners

FedAvgFullModelAggregationStrategy provides AI safety functionality. Default values follow the original paper settings.

Constructors

Constructor Summary
FedAvgFullModelAggregationStrategy()

Methods

Method Summary
IFullModel<T, TInput, TOutput> Aggregate(Dictionary<int, IFullModel<T, TInput, TOutput>> clientModels, Dictionary<int, double> clientWeights)
string GetStrategyName()