- use dir in file names

- fixed missing returns
- fixed test app

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@782 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-01-10 17:05:51 +00:00
parent 05fc3aa7c1
commit d5ec722aba
5 changed files with 59 additions and 17 deletions
+47 -5
View File
@@ -21,8 +21,7 @@
"numGibbs" : 1,
"weightDecay" : 0.0
}
},
"weights_file" : "Layer.0.weights.dat"
}
},
{
"id" : 1,
@@ -40,12 +39,55 @@
"learningRate" : 0.050000000000000003,
"miniBatchSize" : 100,
"momentum" : 0.5,
"numEpochs" : 5000,
"numEpochs" : 500,
"numGibbs" : 1,
"weightDecay" : 0.0
}
},
"weights_file" : "Layer.1.weights.dat"
}
},
{
"id" : 2,
"name" : "Layer",
"numContext" : 0,
"numHidden" : 2,
"numVisibleX" : 4,
"numVisibleY" : 1,
"rbm" : {
"params" : {
"doRaoBlackwell" : 1,
"doSampleBatch" : 0,
"gibbsDoSampleHidden" : 1,
"gibbsDoSampleVisible" : 0,
"learningRate" : 0.025000000000000001,
"miniBatchSize" : 100,
"momentum" : 0.5,
"numEpochs" : 250,
"numGibbs" : 1,
"weightDecay" : 0.0
}
}
},
{
"id" : 3,
"name" : "Layer",
"numContext" : 0,
"numHidden" : 1,
"numVisibleX" : 2,
"numVisibleY" : 1,
"rbm" : {
"params" : {
"doRaoBlackwell" : 1,
"doSampleBatch" : 0,
"gibbsDoSampleHidden" : 1,
"gibbsDoSampleVisible" : 0,
"learningRate" : 0.012500000000000001,
"miniBatchSize" : 100,
"momentum" : 0.5,
"numEpochs" : 125,
"numGibbs" : 1,
"weightDecay" : 0.0
}
}
}
],
"name" : "test"