pywhy_graphs.algorithms.pdag_to_cpdag#

pywhy_graphs.algorithms.pdag_to_cpdag(G)[source]#

Convert a PDAG to a CPDAG.

Parameters:
GPDAG

A partially directed acyclic graph that is not completed.

Returns:
CPDAG

A completed partially directed acyclic graph.