set the seed of random number generators in equation nodes
-
- Posts: 26
- Joined: Thu Mar 24, 2022 9:00 am
set the seed of random number generators in equation nodes
I noticed that there are explicit options to set the random seed for network learning algorithms, but in the manual I did not find anywhere how to set the seed to a random number generetor equation in an equation node. I also noticed that for equation nodes, the seed does not change between following revalutations, even if you "invalidate values": you have to close the network and reopen it again if you want to obtain different results. Is there a simple way set the random seed to 0 (clock) for equation nodes, so that the result may change for each run? Thanks
-
- Site Admin
- Posts: 1423
- Joined: Mon Nov 26, 2007 5:51 pm
Re: set the seed of random number generators in equation nodes
The default value of network's random seed is zero - you should get different sampling values each time you run inference.
To check the seed, go to network properties and select the 'Inference' page. Random seed is there (it is saved in the .xdsl file if you change it).
To check the seed, go to network properties and select the 'Inference' page. Random seed is there (it is saved in the .xdsl file if you change it).
-
- Posts: 26
- Joined: Thu Mar 24, 2022 9:00 am
Re: set the seed of random number generators in equation nodes
The attached file shows the inference page of the network properties, on my computer. I can't find the rando seed there. can you please specify where it is? thanks
-
- Site Admin
- Posts: 1423
- Joined: Mon Nov 26, 2007 5:51 pm
Re: set the seed of random number generators in equation nodes
Please update your GeNIe version to 4.0 - it's available at our download site (https://download.bayesfusion.com)