Dear all,
I have the error message shown in the subject when I tried to analyze my influence diagram.
The summary of my influemce diagram is:
Object Count States Parameters
Nodes 2119 3890 126152
Chance 1945 3890 125804
Value 174 - 348
Arcs 2646
In which situations does this error message occur?
Best regards,
Kazu
Error when running Cooper's algorithm
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Error when running Cooper's algorithm
The most likely reason is the complexity of the network. The ID influence algorithm converts ID to BN, then performs BN inference. If resulting BN network is very complex, then it may not be possible to successully perform BN inference.
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
This message is emitted when BN inference fails inside Cooper algorithm. It's not possible to predict "how close" you're to successful BN inference given the number of arcs/nodes/parameters.Kazu wrote:I would like to know exactly the conditions that produce this error message. how can I see how close I am to the limitations?
You may consider switching BN inference algorithm to some form of sampling, then running ID inference. The ID algorithm will use the BN algorithm you selected.
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
The condition is not expressed as explicit function of node/outcome/arc count. If you're running default BN inference (clustering) from within Cooper's algorithm, then error you're experiencing means that creation of jointree failed due to excessive size of its cliques. This condition is checked in the triangulation phase.Kazu wrote:But, probably you can give me the conditions implemented in the code under which the error message occur. Am I right?
Re: Error when running Cooper's algorithm
Is there any particular alternative algorithm that you would recommend to switch to or try instead?
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Error when running Cooper's algorithm
EPIS would be the best candidate if jointree/clustering fails.
Re: Error when running Cooper's algorithm
Thank you, that solved my problem!