Update error

The engine.
Post Reply
lablonsk
Posts: 20
Joined: Sat Jun 29, 2019 12:13 pm

Update error

Post by lablonsk » Fri Oct 11, 2019 6:33 pm

Hello,
My code worked naturally but when I used a larger data array the following error appeared.
UpdateBeliefs failed, SMILE error code -42
Thanks!

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

Re: Update error

Post by shooltz[BayesFusion] » Tue Oct 15, 2019 11:44 am

Try marking some nodes as targets. Alternatively, switch to a sampling algorith, like EPIS:

Code: Select all

net.BayesianAlgorithm = Network.BayesianAlgorithmType.EpisSampling;

lablonsk
Posts: 20
Joined: Sat Jun 29, 2019 12:13 pm

Re: Update error

Post by lablonsk » Tue Oct 15, 2019 3:11 pm

shooltz[BayesFusion] wrote:
Tue Oct 15, 2019 11:44 am
Try marking some nodes as targets. Alternatively, switch to a sampling algorith, like EPIS:

Code: Select all

net.BayesianAlgorithm = Network.BayesianAlgorithmType.EpisSampling;
The error is saying that it did not find the node because it exists RB. Was it a mistake in learning? Maybe going through matrix I could solve.

"Try marking some nodes as targets." Could you tell me more about this?
I'm using a random try and catch from 0 to 1 but I needed to follow it naturally. I used this command

Code: Select all

 net.BayesianAlgorithm = Network.BayesianAlgorithmType.EpisSampling; 
However the updates were not made and the error persisted saying that the node was not found but when opening the file generated by my algorithm that Smile reads GeNIe efficiently.

lablonsk
Posts: 20
Joined: Sat Jun 29, 2019 12:13 pm

Re: Update error

Post by lablonsk » Tue Oct 15, 2019 3:16 pm

Error happens on only one node

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

Re: Update error

Post by shooltz[BayesFusion] » Tue Oct 15, 2019 5:37 pm

Can you post your network here?

lablonsk
Posts: 20
Joined: Sat Jun 29, 2019 12:13 pm

Re: Update error

Post by lablonsk » Fri Oct 18, 2019 6:20 pm

shooltz[BayesFusion] wrote:
Tue Oct 15, 2019 5:37 pm
Can you post your network here?
In private project but generat auto.

Post Reply