blob: 223e65747ba95fc9a198a14db334e6964061f953 (
plain)
1
2
3
4
5
6
7
8
|
function [m, pot] = marginal_nodes(engine, query)
% MARGINAL_NODES Compute the marginal on the specified set of nodes (global_joint)
% [m, pot] = marginal_nodes(engine, query)
pot = marginalize_pot(engine.jpot, query);
m = pot_to_marginal(pot);
%[m.T, lik] = normalize(m.T);
%loglik = log(lik);
|