lib.sedna.algorithms.aggregation.aggregation
¶
Aggregation algorithms
Module Contents¶
Classes¶
Client that interacts with cloud aggregator |
|
Federated averaging algorithm |
- class lib.sedna.algorithms.aggregation.aggregation.AggClient[source]¶
Client that interacts with cloud aggregator
- Parameters:
num_samples (int) – number of samples for the current weights
weights (List) – weights of the layer as a list of number-like array, such as [[0, 0, 0, 0], [0, 0, 0, 0] … ]