Partially directed cycles in PDAG #22
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Hi @kenneth-lee-ch , as far as I understand PDAG, |
Beta Was this translation helpful? Give feedback.
-
Ok, so, according to Interpreting and using CPDAGs with background knowledge, there is a confusion in pyAgrum between PDAG and CPDAG. PDAG accept partially directed cycle and cpdag does not. Indeed if you add 3->1, following the Meek rules, you should finish with 2->3->1<-2 So I guess that we should clarify and create a class for PDAG and a class for CPDAG ... |
Beta Was this translation helpful? Give feedback.
-
I think we have to create different class because of the different forbidden cycles. We already have a class DAG which is a DiGraph that does not allow cycle. Indeed we may have different behaviour. For instance : the layout of a CPDAG will not be the same as the layout for a PDAG) The idea of layers of undirected connected subgraph is correct only for CPDAG, isnt it ? |
Beta Was this translation helpful? Give feedback.
In the nightly builds (and in the next release), you can
By the way, the current nightly build (and the next tag) also introduces