To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _FullBNT / BNT / CPDs / @softmax_CPD / reset_ess.m @ 8:b5b38998ef3b

History | View | Annotate | Download (218 Bytes)

1
function CPD = reset_ess(CPD)
2
% RESET_ESS Reset the Expected Sufficient Statistics for a CPD (dsoftmax)
3
% CPD = reset_ess(CPD)
4

    
5
CPD.parent_vals = [];
6
CPD.eso_weights=[];
7
CPD.self_vals = [];
8
CPD.nsamples = 0;