About Error (-42): UpdateBeliefs fails

The engine.
Post Reply
tloy1966
Posts: 20
Joined: Thu May 12, 2011 2:40 am

About Error (-42): UpdateBeliefs fails

Post by tloy1966 »

I have been use SMILE for a while

Some error occur due to Update-Beliefs fails

Can you giving me some advice to avoid this kind of error?

1.reduce the number of child_nodes

2. set some interesting target

3. modify model

Cheers,

Wei
orzech
Posts: 51
Joined: Wed Aug 04, 2010 11:40 pm

Re: About Error (-42): UpdateBeliefs fails

Post by orzech »

Most propably your model became too complicated to get computed. -42 error simply means that you are getting out of memory during computation.
You are indeed right that you should:

1. Reduce the number of parent nodes so that your CPTs aren't that large. You should get familiar with parent divorcing techniques.
2. Always set the target node that is interesting.

You can also experiment with different algorithms such as EPIS sampling.

Good luck,
orzech
Post Reply