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 — clean up import. · zencoding/DeepLearningTutorials@102771f

File tree

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

‎code/test.py‎

Copy file name to clipboardExpand all lines: code/test.py
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
import convolutional_mlp, logistic_cg, logistic_sgd, mlp, SdA, dA, rbm , DBN
2-
from nose.plugins.skip import SkipTest
3-
import numpy, theano
4-
import time, sys
1+
import sys
2+
3+
import numpy
4+
import theano
5+
6+
import convolutional_mlp, logistic_cg, logistic_sgd
7+
import mlp, SdA, dA, rbm, DBN
58

69

710
def test_logistic_sgd():
@@ -44,7 +47,6 @@ def speed():
4447
I want it to be compatible with python2.4 so using try: finaly: is not an option.
4548
"""
4649

47-
import theano
4850
algo=['logistic_sgd','logistic_cg','mlp','convolutional_mlp','dA','SdA','DBN','rbm']
4951
to_exec=[True]*len(algo)
5052
# to_exec=[False]*len(algo)

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.