blob: da3ee0231991d22eedb901328d4cd8cb401f6e5e (
plain)
1
2
3
4
5
6
|
function CPD = update_ess_simple(CPD, counts)
% UPDATE_ESS_SIMPLE Update the Expected Sufficient Statistics of a tabular node.
% function CPD = update_ess_simple(CPD, counts)
CPD.nsamples = CPD.nsamples + 1;
CPD.counts = CPD.counts + counts(:);
|