problems.txt

来自「贝叶斯算法(matlab编写) 安装,添加目录 /home/ai2/murphy」· 文本 代码 · 共 77 行

TXT
77
字号
PROBLEMS WITH STAB_COND_GAUSS_INF_ENGINE- enter_evidence always returns ll=0  (I set ll=0 since it is not computed)- fails on scg_3node, probably because the engine needs to bere-initialized every time before enter_evidence is called, not justwhen the engine is constructed.??? Error using ==> assertassertion violated: K>> dbstackdbstack> In /home/eecs/murphyk/matlab/BNT/HMM/assert.m at line 9  In /home/eecs/murphyk/matlab/BNT/examples/static/SCG/scg_3node.m at line 45- crashes on scg3Error in ==> /home/eecs/murphyk/matlab/BNT/inference/static/@stab_cond_gauss_inf_engine/stab_cond_gauss_inf_engine.mOn line 77  ==>       clpot{cindex} = direct_combine_pots(pot{n}, clpot{cindex});K>> dbstackdbstack> In /home/eecs/murphyk/matlab/BNT/inference/static/@stab_cond_gauss_inf_engine/stab_cond_gauss_inf_engine.m at line 77  In /home/eecs/murphyk/matlab/BNT/examples/static/SCG/scg3.m at line 41K>> - fails on scg1 and scg2Warning: One or more output arguments not assigned during call to 'min_subtree_conti_nodes (nearsest_node2)'.Warning in ==> /home/eecs/murphyk/matlab/BNT/graph/min_subtree_conti_nodes.m (nearsest_node2)On line 60  ==>     nea_node = nearsest_node2(tree, nodes, n);K>> dbstackdbstack> In /home/eecs/murphyk/matlab/BNT/graph/min_subtree_conti_nodes.m (nearsest_node2) at line 60  In /home/eecs/murphyk/matlab/BNT/graph/min_subtree_conti_nodes.m (nearest_node) at line 50  In /home/eecs/murphyk/matlab/BNT/graph/min_subtree_conti_nodes.m at line 11  In /home/eecs/murphyk/matlab/BNT/inference/static/@stab_cond_gauss_inf_engine/marginal_difclq_nodes.m at line 17  In /home/eecs/murphyk/matlab/BNT/inference/static/@stab_cond_gauss_inf_engine/marginal_nodes.m at line 23  In /home/eecs/murphyk/matlab/BNT/examples/static/SCG/scg1.m at line 42- This code fragment, from BNT/graph/min_subtree_conti_nodes, is clearly redundantfunction nea_node = nearest_node(tree, root, nodes)%get the nearest node to the root in the treenea_node = nearsest_node2(tree, nodes, root);function nea_node = nearsest_node2(tree, nodes, inode)if myismember(inode, nodes)    nea_node = inode;    return;endcs = children(tree, inode);for i = 1:length(cs)    n = cs(i);    nea_node = nearsest_node2(tree, nodes, n);end    - Some names are badly chosen. 'nearsest' is a mis-spelling. 'min_subtree_conti_nodes' should be'min_subtree_containing_nodes' or 'min_subtree_con_nodes'.- In general, the code needs some heavy polishing.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?