GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — comment clarification · alabarga/DeepLearningTutorials@34453d2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • code
    • DBN.py
  • doc
    • DBN.txt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/DBN.py‎

Copy file name to clipboardExpand all lines: code/DBN.py
+1Lines 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

Collapse file

‎doc/DBN.txt‎

Copy file name to clipboardExpand all lines: doc/DBN.txt
+1Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.