Skip to content

Argument Error in randomBN #11

Closed Answered by phwuil
kenneth-lee-ch asked this question in Q&A
Discussion options

You must be logged in to vote

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 :-) ).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kenneth-lee-ch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants