Mercurial > pylearn
comparison test_mlp.py @ 135:0d8e721cc63c
Fixed bugs in dataset to make test_mlp.py work
author | Yoshua Bengio <bengioy@iro.umontreal.ca> |
---|---|
date | Mon, 12 May 2008 14:30:21 -0400 |
parents | b4657441dd65 |
children | 2698c0feeb54 |
comparison
equal
deleted
inserted
replaced
134:3f4e5c9bdc5e | 135:0d8e721cc63c |
---|---|
9 [1, 0, 1], | 9 [1, 0, 1], |
10 [1, 1, 1]]), | 10 [1, 1, 1]]), |
11 {'input':slice(2),'target':2}) | 11 {'input':slice(2),'target':2}) |
12 fprop=nnet(training_set) | 12 fprop=nnet(training_set) |
13 | 13 |
14 print fprop(training_set) | 14 output_ds = fprop(training_set) |
15 | |
16 for fieldname in output_ds.fieldNames(): | |
17 print fieldname+"=",output_ds[fieldname] | |
15 | 18 |
16 test0() | 19 test0() |
17 | 20 |