fedcausal#
Source | Issues | Changelog | Citing | causalbase
fedcausal learns causal structure from data split across sites that cannot share them. The sites send only what each method needs, never their rows:
Estimator |
Data |
What crosses the network |
|---|---|---|
Discrete or continuous, across sites |
Structures and scores |
|
Continuous, linear non-Gaussian, across sites |
Additive moment sums |
Learning from data in one place (GES, XGES, the scores and graphs these methods build on) is the job of causalbase.
from fedcausal import FedGES
from fedcausal.data import contiguous_split
from causalbase.datasets import load_alarm
sites = contiguous_split(load_alarm().data, 5)
model = FedGES(n_jobs=-1).fit(sites)
model.adjacency_
Federated runs work in one process for experiments, or over Flower across real machines, with the same round loop in both.
Installation and a first federated structure.
FedGES and its fusion operators, and what their options change.
FedGES and FedRCD across real machines with Flower.
Parameters, attributes and methods of every class and function.