- introduced mini batch training


git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@304 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2016-06-30 07:52:49 +00:00
parent 6e93c07863
commit 4979ab41b4
2 changed files with 143 additions and 137 deletions
+1 -4
View File
@@ -21,7 +21,7 @@ public:
{
Params()
: m_constantSigma(1.0)
, m_sigmaDecay(1.0)
, m_sigmaDecay(0.0)
, m_weightDecay(0.0)
, m_lambda(1.0)
, m_sparsity(0.05)
@@ -111,9 +111,6 @@ private:
double m_progress;
Params m_params;
void toHiddenBatch(MatrixXd &h, MatrixXd const &v);
void toVisibleBatch(MatrixXd &v, MatrixXd const &h);
protected:
virtual void onProgressChanged()
{