- 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:
2014-10-15 21:12:22 +00:00
parent afc1853664
commit 288775cf8c
+1
View File
@@ -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;