fedn.aggregators package

Submodules

fedn.aggregators.aggregator module

class fedn.aggregators.aggregator.AggregatorBase(id, storage, server, modelservice, control)[source]

Bases: ABC

Abstract class defining helpers.

abstract combine_models(nr_expected_models=None, nr_required_models=1, helper=None, timeout=180)[source]
abstract on_model_update(model_id)[source]
abstract on_model_validation(validation)[source]

fedn.aggregators.fedavg module

Module contents