wolffd@0: function CPD = reset_ess(CPD) wolffd@0: % RESET_ESS Reset the Expected Sufficient Statistics of a tabular node. wolffd@0: % CPD = reset_ess(CPD) wolffd@0: wolffd@0: %CPD.counts = zeros(size(CPD.CPT)); wolffd@0: CPD.counts = zeros(prod(size(CPD.CPT)), 1); wolffd@0: CPD.nsamples = 0;