diff test_dataset.py @ 48:b6730f9a336d

Fixing MinibatchDataSet getitem
author bengioy@grenat.iro.umontreal.ca
date Tue, 29 Apr 2008 13:40:13 -0400
parents a5c70dc42972
children e3ac93e27e16
line wrap: on
line diff
--- a/test_dataset.py	Tue Apr 29 12:39:09 2008 -0400
+++ b/test_dataset.py	Tue Apr 29 13:40:13 2008 -0400
@@ -19,6 +19,6 @@
     print "minibatch=",minibatch
     for var in minibatch:
         print "var=",var
-    print "take a slice:",ds[1:6:2]
+    print "take a slice and look at field y",ds[1:6:2]["y"]
 
 test1()