blob: f45d3f4c826f694c0a6f58a15f66a665faba3507 (
plain)
1
2
3
4
5
6
7
8
9
|
function L = log_marg_prob_node(CPD, self_ev, pev)
% LOG_MARG_PROB_NODE Compute prod_m log int_{theta_i} P(x(i,m)| x(pi_i,m), theta_i) for node i (root)
% L = log_marg_prob_node(CPD, self_ev, pev)
%
% self_ev{m} is the evidence on this node in case m
% pev{i,m} is the evidence on the i'th parent in case m (ignored)
% We always return L = 0.
L = 0;
|