- update working weights after sparse pass
git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@28 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -212,6 +212,7 @@ public:
|
||||
m /= i;
|
||||
th.states().array() = m.array() - m_sparsity;
|
||||
hiddenBiasUpdate(th, -mu);
|
||||
w = m_w;
|
||||
|
||||
// cout << "Mean(" << m_sparsity << ") = " << (double)m.array().mean() << endl;
|
||||
// cout << m << endl;
|
||||
|
||||
Reference in New Issue
Block a user