run_flower_rcd#
- fedcausal.flower.run_flower_rcd(sites, *, method='deflation', order=4, pruning='adaptive_lasso', lambda_selection='bic')[source]#
Run FedRCD on Flower’s simulation engine and return the result.
The Flower counterpart of
fedcausal.FedRCD, one simulated supernode per site. Needsfedcausal[federated-simulation].- Parameters:
- sitessequence of ContinuousDataset
Each site’s data, over the same variables.
- method, order, pruning, lambda_selection
As in
fedcausal.FedRCD.
- Returns:
- RCDResult
The causal order and coefficient matrix.
- Raises:
- ConfigurationError
If Flower’s simulation extra is not installed, or an option is not supported.
- ClientFailureError
If too few supernodes register, or too few reply.
- SchemaMismatchError
If the clients do not agree on their variables.