Hello,
what is the maximum network size I can use? Is it only limited by the 2GB border or also by a maximum number of nodes/weights/arcs?
Is there also a multi thread calculation algorithm? I am currently using the Likelihood algorithm with 10k samples each on 4 cores. After that I calculate the averages of the results. I don't know if that is ok. What do you think?
Maximum net size / Multi threading
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Maximum net size / Multi threading
2GB is the limit for the user-space memory in the Win32 process. You can use SMILE for 64-bit Linux if you need to get more memory. There are no limits other than available memory for number of nodes/parameters/arcs.Christian wrote:what is the maximum network size I can use? Is it only limited by the 2GB border or also by a maximum number of nodes/weights/arcs?
Keep in mind that inference requires additional memory - algorithms create temporary data structures to keep the intermediate results.
No, we don't have an algorithm which uses multiple threads.Is there also a multi thread calculation algorithm?
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Maximum net size / Multi threading
Your approach should work as long as you call srand with different seed in each thread/process. However, I think you should use DSL_ALG_BN_EPISSAMPLING algorithm, which is dramatically better, especially in hard cases (with unlikely evidence).Christian wrote:I am currently using the Likelihood algorithm with 10k samples each on 4 cores. After that I calculate the averages of the results. I don't know if that is ok. What do you think?