Creation of Equation Nodes, problem with setContEvidence

The engine.
Post Reply
khurrams
Posts: 5
Joined: Mon Sep 27, 2010 1:16 pm

Creation of Equation Nodes, problem with setContEvidence

Post by khurrams »

Hi,

I am using JSMILE and when i try to use setContEvidence for the nodes which have parents then it halts the program, but if node does not have parents then it works fine. I have experienced the same problem using Genie tool.

Is it a bug in JSMILE?

Regards,

khurram
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by shooltz[BayesFusion] »

khurrams wrote:I am using JSMILE and when i try to use setContEvidence for the nodes which have parents then it halts the program, but if node does not have parents then it works fine.
By 'it halts the program', you mean the JVM crash or SMILEException thrown?
khurrams
Posts: 5
Joined: Mon Sep 27, 2010 1:16 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by khurrams »

I mean JVM crashes... no exception thrown.

I have also noticed that if the node has some concrete value then evidence does not have any effect, this is understandable but It would be nice if we get some kind of warning for conflicting evidences.

regards,

khurram
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by shooltz[BayesFusion] »

Can you post your code and network here so we can investigate the issue?
khurrams
Posts: 5
Joined: Mon Sep 27, 2010 1:16 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by khurrams »

Hi,

I have attachted geine file which contains 4 nodes and if we try to set evidence on node C.C2 then program will crash.

Please have a look.

Regards,
Khurram
Attachments
latest.iPrm_continuous.xdsl
(1.64 KiB) Downloaded 269 times
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by shooltz[BayesFusion] »

I confirm the issue, but I'm getting an infinite loop, not the crash. What's the value you're using for evidence?
khurrams
Posts: 5
Joined: Mon Sep 27, 2010 1:16 pm

Re: Creation of Equation Nodes, problem with setContEvidence

Post by khurrams »

Any double value...

Regards,
Khurram
Post Reply