You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A non-zero entry $i$, $j$ corresponds to an edge from $i$ to $j$. For example in your causal matrix, $matrix[0,1]=1$, meaning an edge from $0$ to $1$. If both $matrix[i,j]$ and $matrix[j,i]$ are $1$, it corresponds to an undirected edge between $i$ and $j$.
Suggest to add x-axis and y-axis labels in figures created by GraphDAG. Many other research uses the causal matrix of transposed meaning. It's better to claim it clearly.
i use castle.algorithms PC get the causal_matrix:
[[0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 1 0 1 1 0 0 1 0 0 0 1 0 0 0 0 0 0]
[0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0]
[0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0]
[0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0]
[0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0]
[0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1]
[0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0]
[0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0]
[0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1]
[0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0]
[0 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0]]
how do i know the Direction of edges?
The text was updated successfully, but these errors were encountered: