Skip to content

Commit 34453d2

Browse files
author
Yoshua Bengio
committed
comment clarification
1 parent daa0d03 commit 34453d2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

code/DBN.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def pretraining_functions(self, train_set_x, batch_size):
154154
for rbm in self.rbm_layers:
155155

156156
# get the cost and the updates list
157+
# using CD-k here (persisent=None) for training each RBM.
157158
# TODO: change cost function to reconstruction error
158159
cost,updates = rbm.get_cost_updates(learning_rate, persistent=None, k =k)
159160

doc/DBN.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Theano variable to it that has a default value.
304304
for rbm in self.rbm_layers:
305305

306306
# get the cost and the updates list
307+
# using CD-k here (persisent=None) for training each RBM.
307308
# TODO: change cost function to reconstruction error
308309
cost,updates = rbm.cd(learning_rate, persistent=None, k)
309310

0 commit comments

Comments
 (0)