3.1.7. pywhy_graphs.algorithms.mag_to_pag#

pywhy_graphs.algorithms.mag_to_pag(G: PAG)[source]#

Converts the provided mag into a pag using the FCI algorithm.

The FCI algorithms, as defined in [1] is a provably complete for learning all the tractable features of an MAG, thus producing a PAG.

Parameters:
GMAG

The MAG.

Returns:
pagPAG

The PAG constructed from the MAG.