Contents:
Compare the true and predicted causal graphs in a long-form data frame
true (DiGraph) – True causal graph
DiGraph
pred (DiGraph) – Predicted causal graph
edge_attr (str | None) – Prediction edge attribute (edges are taken as binary if None)
str
None
scaffold (TypeVar(SimpleGraph, Graph, DiGraph) | None) – Scaffold graph
TypeVar
SimpleGraph
Graph
DataFrame
Long-form comparison data frame
Caution
The cache is UNSAFE from inplace graph manipulations.