Skip to content

Commit 1867458

Browse files
committed
first implementation of the build bot.
1 parent a3010db commit 1867458

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

code/test.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#import convolutional_mlp, dbn, logistic_cg, logistic_sgd, mlp, rbm, SdA_loops, SdA
2+
import convolutional_mlp, logistic_cg, logistic_sgd, mlp, SdA_loops, SdA
3+
from nose.plugins.skip import SkipTest
4+
#TODO: dbn, rbm, SdA, SdA_loops, convolutional_mlp
5+
def test_logistic_sgd():
6+
logistic_sgd.sgd_optimization_mnist(n_iter=10)
7+
def test_logistic_cg():
8+
logistic_cg.cg_optimization_mnist(n_iter=10)
9+
def test_mlp():
10+
mlp.sgd_optimization_mnist(n_iter=5)
11+
def test_convolutional_mlp():
12+
raise SkipTest('Implementation not finished')
13+
convolutional_mlp.evaluate_lenet5(n_iter=5)
14+
def test_dbn():
15+
raise SkipTest('Implementation not finished')
16+
def test_rbm():
17+
raise SkipTest('Implementation not finished')
18+
def test_SdA_loops():
19+
raise SkipTest('Implementation not finished')
20+
SdA_loops.sgd_optimization_mnist()
21+
def test_SdA():
22+
raise SkipTest('Implementation not finished')
23+
SdA.sgd_optimization_mnist()

0 commit comments

Comments
 (0)