⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbn_marginal_from_bel.m

📁 贝叶斯算法(matlab编写) 安装,添加目录 /home/ai2/murphyk/matlab/FullBNT
💻 M
字号:
function marginal = dbn_marginal_from_bel(engine, i)% DBN_MARGINAL_FROM_BEL Compute the marginal on a node given the current belief state (bk)% marginal = dbn_marginal_from_bel(engine, i)  if engine.slice1  j = i;  c = clq_containing_nodes(engine.sub_engine1, j);else  bnet = bnet_from_engine(engine);  ss = length(bnet.intra);  j = i+ss;  c = clq_containing_nodes(engine.sub_engine, j);endassert(c >= 1);bigpot = engine.bel_clpot{c};pot = marginalize_pot(bigpot, j);marginal = pot_to_marginal(pot);

⌨️ 快捷键说明

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