mk_engine_table.m
来自「Bayes网络工具箱」· M 代码 · 共 20 行
M
20 行
tit = {'Name', 'Exact?', 'Node type?', 'topology', 'evid.', 'model proc', 'ev. proc', 'query proc' };algos = cell(1, length(tit));algos(1,:) = {'cond_gauss', 'exact', 'CG', 'all', 'any', 'compute joint', 'condition joint', 'marginalize joint' };algos(end+1,:) = {'enumerative', 'exact', 'allD', 'all', 'any', 'none', 'none', 'marginalize joint' };algos(end+1,:) = {'gaussian', 'exact', 'allG', 'all', 'any', 'compute joint', 'condition joint', 'marginalize joint' };algos(end+1,:) = {'jtree', 'exact', 'D,G,CG', 'all', 'any', 'find elim order', 'propagate msgs', 'marginalize clique' };algos(end+1,:) = {'jtree_fast', 'exact', 'D', 'all', 'fixed', 'find elim order', 'propagate msgs', 'marginalize clique' };algos(end+1,:) = {'jtree_onepass', 'exact', 'D,G,CG', 'any', 'all', 'find elim order', 'propagate msgs', 'lookup' };algos(end+1,:) = {'jtree_onepass_fast', 'exact', 'D', 'fixed', 'all', 'find elim order', 'propagate msgs', 'lookup' };algos(end+1,:) = {'likelihood_weighting', 'approx', 'any', 'all', 'any', 'none', 'sample', 'lookup'};algos(end+1,:) = {'loopy_pearl', 'approx', 'D,G', 'all', 'any', 'none', 'propagate msgs', 'lookup' };algos(end+1,:) = {'pearl', 'exact', 'D,G', 'polytree', 'any', 'none', 'propagate msgs', 'lookup' };algos(end+1,:) = {'quickscore', 'exact', 'noisy-or', 'QMR', 'leaves', 'none', 'marginalize root nodes', 'lookup' };algos(end+1,:) = {'var_elim', 'exact', 'D,G,CG', 'all', 'any', 'none', 'none', 'nested marginalizations' };cellarray_to_html('doc/static', 'engines.html', algos, tit)%cellarray_to_latex('doc/static', 'foo.tex', algos(:,1:4), tit(1:4))
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?