Update error
Update error
Hello,
My code worked naturally but when I used a larger data array the following error appeared.
UpdateBeliefs failed, SMILE error code -42
Thanks!
My code worked naturally but when I used a larger data array the following error appeared.
UpdateBeliefs failed, SMILE error code -42
Thanks!
-
- Site Admin
- Posts: 1441
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Update error
Try marking some nodes as targets. Alternatively, switch to a sampling algorith, like EPIS:
Code: Select all
net.BayesianAlgorithm = Network.BayesianAlgorithmType.EpisSampling;
Re: Update error
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.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;
"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;
Re: Update error
Error happens on only one node
-
- Site Admin
- Posts: 1441
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Update error
Can you post your network here?
Re: Update error
In private project but generat auto.
Re: Update error
Hello, I'm reopening the topic because I need to create a network using complex information. An exception is returned when performing UpdateBeliefs (), please help. Another thing that is happening is that I needed to process information where the node can be continuous generating an isolated node (this part I am isolating but it is making the process heavy). The most important thing would be to be able to run a complex network. the data have 30 different information but replicated 800 x.
The file is on a website because it is 1.4 MB.
Thanks.
https://drive.google.com/file/d/1cIn8qC ... sp=sharing
-
- Site Admin
- Posts: 1441
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Update error
Please be more specific - I downloaded your data file. Are you learning both structure and parameters from the data, or you have the network already?
Re: Update error
Hello, I'm learning the structure from this database. When executing the update command an exception is returned.shooltz[BayesFusion] wrote: ↑Wed Mar 04, 2020 11:14 am Please be more specific - I downloaded your data file. Are you learning both structure and parameters from the data, or you have the network already?
The maximum number of parents is 3. A posteriori and priori are 0.01 and 0.1 respectively (this is not a rule) but the initial network must be very "messy" because it is an evolutionary process that generates several networks, each network represents a generation .
Last edited by lablonsk on Wed Mar 04, 2020 8:30 pm, edited 1 time in total.
-
- Site Admin
- Posts: 1441
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Update error
Which structure learning algorithm is used? If possible, please post your network (after learning, but before the update) here.
Re: Update error
Attached image of how the process takes place.shooltz[BayesFusion] wrote: ↑Wed Mar 04, 2020 8:28 pm Which structure learning algorithm is used? If possible, please post your network (after learning, but before the update) here.
- Attachments
-
- boa.png (53.99 KiB) Viewed 21142 times
Re: Update error
As soon as I can I send the network to have a look. But if you use the standard that is in GeNIe the software cannot execute the update command because it is very complex.shooltz[BayesFusion] wrote: ↑Wed Mar 04, 2020 8:28 pm Which structure learning algorithm is used? If possible, please post your network (after learning, but before the update) here.
Re: Update error
Good afternoon,shooltz[BayesFusion] wrote: ↑Wed Mar 04, 2020 8:28 pm Which structure learning algorithm is used? If possible, please post your network (after learning, but before the update) here.
If you can take a look I appreciate it. My research depends a lot on me being able to run these RB.
Thank you very much and sorry for the work.
- Attachments
-
- dados_IEEE.xdsl
- (198.54 KiB) Downloaded 871 times
-
- Site Admin
- Posts: 1441
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Update error
Your network is densely connected. Consider reducing the link probability and prior link probability - you have used 0.5 for both. The defaults in GeNIe are 0.1 for link probability and 0.001 for prior link probability.
Re: Update error
Hello, well, the problem is as follows. The problem is that the algorithm is evolutionary, so this same configuration at some point ends up giving some problem. Is there no way around this problem without using a try?
Thank you!
Thank you!