causally.graph.random_graph.CustomGraph
- class causally.graph.random_graph.CustomGraph(adjacency: array)
Generator of user-specified, deterministic, graphs
- Parameters:
adjacency (np.array) – Adjacency matrix representation of the output DAG. The presence of a directed edge from node
ito nodejis denoted byA[i, j] = 1. Absence of the edge is denote byA[i, j] = 0.
Methods
Return the adjacency provided as input to the constructor method.