# HG changeset patch # User Yoshua Bengio # Date 1212543280 14400 # Node ID 5614b186c5f4b82828f389212e9f8039703e7465 # Parent 2b91638a11d3fa77594ec9ca4fb787e548e62dac# Parent 14b9779622f9c1c7446a0300dfcc36506c7dd368 Automated merge with http://lgcm.iro.umontreal.ca/hg/pylearn diff -r 14b9779622f9 -r 5614b186c5f4 test_dataset.py --- a/test_dataset.py Tue Jun 03 21:34:24 2008 -0400 +++ b/test_dataset.py Tue Jun 03 21:34:40 2008 -0400 @@ -575,7 +575,7 @@ dummytest3_fields_iterator_consistency(ds) -def dummytest1_basicstats(self,ds) : +def dummytest1_basicstats(ds) : """print basics stats on a dataset, like length""" print 'len(ds) = ',len(ds) @@ -585,8 +585,8 @@ print type(ds[0](k)[0]), print '' -def dummytest2_slicing(self,ds) : - """test if slicing works properly""" +def dummytest2_slicing(ds) : + """test if slicing seems to works properly""" print 'testing slicing...', sys.stdout.flush() @@ -613,8 +613,8 @@ print 'done' -def dummytest3_fields_iterator_consistency(self,ds) : - """ check if the number of iterator corresponds to the number of fields""" +def dummytest3_fields_iterator_consistency(ds) : + """test if the number of iterator corresponds to the number of fields, also do it for minibatches""" print 'testing fields/iterator consistency...', sys.stdout.flush()