combine_marginals_into_joint.m

来自「基于matlab的bayes net toolbox,希望对大家能有些帮助」· M 代码 · 共 9 行

M
9
字号
function joint = combine_marginals_into_joint(marginalsT, hnodes, ns)jointT = dpot(hnodes, ns(hnodes));for i=hnodes(:)'  jointT = multiply_by_pot(jointT, marginalsT{i});endm = pot_to_marginal(jointT);joint = m.T(:);           

⌨️ 快捷键说明

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