BNModel#
- class fedcausal.fedges.BNModel(dag, score=0.0)[source]#
A learned structure and its score.
Two models are equal when their DAGs have the same nodes and edges; the score does not take part.
- Parameters:
- dagDAG
The structure.
- scorefloat, optional
Its score on the data of the site that learned it. Default
0.0.