dag_to_cpdag#

causalbase.graph.dag_to_cpdag(dag)[source]#

Return the CPDAG of dag: its compelled edges directed, the rest undirected.

Uses Chickering’s (1995) edge-labelling algorithm.