function bnode = reset_ess_noisyfn(bnode)
% RESET_ESS_NOISYFN  Reset the Expected Sufficient Statistics of a noisyfn node.
% bnode = reset_ess_noisyfn(bnode)

psize = bnode.parent_size;
np = length(bnode.parents);
bnode.counts = myzeros([psize*ones(1,np) bnode.self_size]); % counts(p1,...,pn,s) as in a tabular node
bnode.parent_distrib = []; % X(i,:,l) = prob. distrib. on i'th parent C(i) in l'th example
bnode.self_distrib = []; % Y(:,l) = prob. distrib. on me (E) in l'th example
bnode.num_samples = 0;
