NodeConfigLoader#

class fedcausal.flower.NodeConfigLoader(dataset_cls, key='data-path')[source]#

Load a supernode’s own CSV, named by a key in its node_config.

Start each supernode with --node-config "data-path='/path/to/shard.csv'". Gzipped CSVs work too.

Parameters:
dataset_clstype[DatasetT]

DiscreteDataset for FedGES, ContinuousDataset for FedRCD.

keystr, optional

The node_config key holding the path. Default "data-path".