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 / @mlp_CPD / reset_ess.m @ 8:b5b38998ef3b

History | View | Annotate | Download (267 Bytes)

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

    
5
CPD.W1 = [];
6
CPD.W2 = [];
7
CPD.b1 = [];
8
CPD.b2 = [];
9
CPD.parent_vals = [];
10
CPD.eso_weights=[];
11
CPD.self_vals = [];
12
CPD.nsamples = 0;