DAG2CPDAG

Covert a DAG to its corresponding CPDAG.

Usage

from causallearn.utils.DAG2CPDAG import dag2cpdag
CPDAG = dag2cpdag(G)

Parameters

G: Direct Acyclic Graph.

Returns

CPDAG: Completed Partially Direct Acyclic Graph.