function L = log_prob_node(CPD, self_ev, pev) % LOG_PROB_NODE Compute prod_m log P(x(i,m)| x(pi_i,m), theta_i) for node i (root) …
evidence+theory 源代码
汇集 evidence+theory 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence) % CPD_TO_PI Compute the pi vector (root) % function pi = CPD_to_pi(…
function pot = convert_to_pot(CPD, pot_type, domain, evidence) % CONVERT_TO_POT Convert a root CPD to one or more potentials % p…
function y = sample_node(CPD, pev) % SAMPLE_NODE Draw a random sample from P(Y|pa(y), theta) (root) % Y = SAMPLE_NODE(CPD, PEV)…
function mpe = find_mpe(engine, ev) % FIND_MPE Find the most probable explanation (Viterbi) % mpe = enter_evidence(engine, evide…
function [engine, LL] = enter_evidence(engine, ev) % ENTER_EVIDENCE Call the offline smoother % [engine, loglik] = enter_evidenc…
function obslik = mk_hmm_obs_lik_vec(engine, evidence) % P(o1,o2| h) = P(o1|h) * P(o2|h) where h = Q1,Q2,... bnet = bnet_fro…
function [engine, LL] = enter_evidence(engine, ev, t) % ENTER_EVIDENCE Call the online filter % [engine, loglik] = enter_evidenc…
function [engine, loglik] = enter_evidence(engine, evidence, varargin) % ENTER_EVIDENCE Add the specified evidence to the network…
function mpe = find_mpe(engine, evidence, varargin) % FIND_MPE Find the most probable explanation of the data (assignment to the …