Argument Error in randomBN #11
-
How come the
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The way BN are randomly generated using a MCMC approach makes it optimized in the sens that the distribution over all structure is (close to) uniform, even if there are constraints on the structure. However, this make it difficult and then very unoptimized in terms of time generation for very small graphs. Moreover, the However, I understand that it may seem strange and propose to accept 4 nodes (but not 3 :-) ). |
Beta Was this translation helpful? Give feedback.
The way BN are randomly generated using a MCMC approach makes it optimized in the sens that the distribution over all structure is (close to) uniform, even if there are constraints on the structure. However, this make it difficult and then very unoptimized in terms of time generation for very small graphs. Moreover, the
ratio_arc
argument is not very relevant for small graphs (with 3 nodes, the number of arcs for a connected graph is between 2 and 3, so the relevant ratio would be only 1 and 1.5).However, I understand that it may seem strange and propose to accept 4 nodes (but not 3 :-) ).