Daniel@0: function CPD = update_ess_simple(CPD, counts) Daniel@0: % UPDATE_ESS_SIMPLE Update the Expected Sufficient Statistics of a tabular node. Daniel@0: % function CPD = update_ess_simple(CPD, counts) Daniel@0: Daniel@0: CPD.nsamples = CPD.nsamples + 1; Daniel@0: CPD.counts = CPD.counts + counts(:);