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 — Also report best_iter + 1 as best iteration · able/DeepLearningTutorials@2bd0018

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • code
    • convolutional_mlp.py
    • mlp.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/convolutional_mlp.py‎

Copy file name to clipboardExpand all lines: code/convolutional_mlp.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def evaluate_lenet5(learning_rate=0.1, n_epochs=200,
290290
print('Optimization complete.')
291291
print('Best validation score of %f %% obtained at iteration %i,'\
292292
'with test performance %f %%' %
293-
(best_validation_loss * 100., best_iter, test_score * 100.))
293+
(best_validation_loss * 100., best_iter + 1, test_score * 100.))
294294
print >> sys.stderr, ('The code for file ' +
295295
os.path.split(__file__)[1] +
296296
' ran for %.2fm' % ((end_time - start_time) / 60.))
Collapse file

‎code/mlp.py‎

Copy file name to clipboardExpand all lines: code/mlp.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def test_mlp(learning_rate=0.01, L1_reg=0.00, L2_reg=0.0001, n_epochs=1000,
348348
end_time = time.clock()
349349
print(('Optimization complete. Best validation score of %f %% '
350350
'obtained at iteration %i, with test performance %f %%') %
351-
(best_validation_loss * 100., best_iter, test_score * 100.))
351+
(best_validation_loss * 100., best_iter + 1, test_score * 100.))
352352
print >> sys.stderr, ('The code for file ' +
353353
os.path.split(__file__)[1] +
354354
' ran for %.2fm' % ((end_time - start_time) / 60.))

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.