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

Reporting a few bugs and relevant fixes #61

Open
brandonjwk opened this issue Mar 28, 2018 · 1 comment
Open

Reporting a few bugs and relevant fixes #61

brandonjwk opened this issue Mar 28, 2018 · 1 comment

Comments

@brandonjwk
Copy link

When using eclasses, inference engine chooses wrong CPDs to add to joint potential
BNT\inference\static@jtree_inf_engine\enter_evidence.m
ln 53: e = bnet.rep_of_eclass(bnet.equiv_class(n));
BNT\general\compute_joint_pot.m
ln 12: e = bnet.rep_of_eclass(bnet.equiv_class(i));
BNT\general\convert_dbn_CPDs_to_pots.m
ln 17: e = bnet.rep_of_eclass(bnet.equiv_class(n, 1));
ln 24: e = bnet.rep_of_eclass(bnet.equiv_class(n, 2));

Using global joint inference engine 'exclude' parameter creates jpot with too large a domain
BNT\inference\static@global_joint_inf_engine\enter_evidence.m
ln 35: [engine.jpot] = compute_joint_pot(bnet, mysetdiff(1:N, exclude), evidence);

Rename strsplit to avoid conflicts with MATLAB built-in strsplit
KPMtools\strsplit.m >> strsplitKPM.m

@TigerZhao007
Copy link

Rename strsplit to avoid conflicts with MATLAB built-in strsplit
KPMtools\strsplit.m >> strsplitKPM.m

Thanks man, help me 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

2 participants