- renamed Params member

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@570 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-10-24 18:51:45 +00:00
parent f7acfc5bd0
commit d6ed27f5d2
2 changed files with 31 additions and 31 deletions
+18 -18
View File
@@ -24,27 +24,27 @@ public:
struct Params
{
Params()
: m_weightInit(0.01)
, m_weightDecay(0.001)
, m_learningRate(0.1)
, m_momentum(0.5)
, m_doRaoBlackwell(true)
, m_gibbsDoSampleVisible(false)
, m_gibbsDoSampleHidden(true)
, m_doSampleBatch(false)
, m_numGibbs(1)
: weightInit(0.01)
, weightDecay(0.001)
, learningRate(0.1)
, momentum(0.5)
, doRaoBlackwell(true)
, gibbsDoSampleVisible(false)
, gibbsDoSampleHidden(true)
, doSampleBatch(false)
, numGibbs(1)
{
}
double m_weightInit;
double m_weightDecay;
double m_learningRate;
double m_momentum;
bool m_doRaoBlackwell;
bool m_gibbsDoSampleVisible;
bool m_gibbsDoSampleHidden;
bool m_doSampleBatch;
size_t m_numGibbs;
double weightInit;
double weightDecay;
double learningRate;
double momentum;
bool doRaoBlackwell;
bool gibbsDoSampleVisible;
bool gibbsDoSampleHidden;
bool doSampleBatch;
size_t numGibbs;
};
struct Status