marginal_family_pot.m
来自「贝叶斯网络的matlab实现。可以创建贝叶斯网络、训练模型」· M 代码 · 共 15 行
M
15 行
function pot = marginal_family_pot(engine, i)
% MARGINAL_FAMILY_POT Compute the marginal on i's family and return as a potentila (inf_engine)
% function pot = marginal_family_pot(engine,i)
% This function is only called by solve_limid.
% It requires that engine's marginal_family function return a potential.
% This is true for jtree_inf_engine, but not for, say, jtree_ndx_inf_engine.
% All limids must be solved using potentials,
% but this is not true for bnets.
%[m, pot] = marginal_family(engine, i);
bnet = bnet_from_engine(engine);
[m, pot] = marginal_nodes(engine, family(bnet.dag, i));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?