graphical_models.PDAG.to_amat

PDAG.to_amat(node_list: ~typing.Optional[list] = None, source_axis=0) -> (numpy.ndarray, <class 'list'>)[source]

Return an adjacency matrix for the graph