bayesnet / bnt

Bayes Net Toolbox for Matlab
460 stars 247 forks source link

error run test_sem1 #80

Open yujin147 opened 4 years ago

yujin147 commented 4 years ago

Wrong use of multiply one marginal The requested 4294967297x14070707069323736 (17179869184.0gb) array exceeds the preset maximum array size. Creating arrays larger than this limit can take a long time and can cause MATLAB has no response. For more information, see array size limits or presets panel. error learn_struct_EM>compute_approx_ess (line 298) Fmarg = multiply_one_marginal(Fmarg, Vmarg{family(j)}, nseff); error learn struct EM (line 36) [ec, ec1, LL] = compute approx ess(bnet, samplesM, ops, nodes); error test sem1 (line 52) [B0, order, best score] = learn struct EM(B0, samplesM, max loop);

yujin147 commented 4 years ago

Now the program can run, but the structure of Bayesian network obtained by SEM is quite different from the real structure

yujin147 commented 4 years ago

solve it. figure is wrong of SEM,but dag is right when i run test_sem1. thanks a lot