Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error run test_sem1 #80

Open
yujin147 opened this issue Jul 2, 2020 · 2 comments
Open

error run test_sem1 #80

yujin147 opened this issue Jul 2, 2020 · 2 comments

Comments

@yujin147
Copy link

yujin147 commented Jul 2, 2020

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)}, ns_eff);
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
Copy link
Author

yujin147 commented Jul 6, 2020

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

@yujin147
Copy link
Author

yujin147 commented Jul 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant