Open aysekaracaorenli opened 3 years ago
elseif mysubset(nodes, cdom) samples = reshape(cat(1, engine.samples{:,nodes}), nsamples*sum(ns(nodes)), length(nodes)); [marginal.mu, marginal.Sigma] = wstats(samples', normalise(w)); elseif mysubset(nodes, cdom)
with
elseif mysubset(nodes, cdom)
else error('can''t handle mixed marginals yet'); end
elseif mysubset(nodes, cdom) samples = reshape(cat(1, engine.samples{:,nodes}), nsamples*sum(ns(nodes)), length(nodes)); [marginal.mu, marginal.Sigma] = wstats(samples', normalise(w)); elseif mysubset(nodes, cdom)
with
elseif mysubset(nodes, cdom)
else error('can''t handle mixed marginals yet'); end