Mercurial > pylearn
diff dataset.py @ 97:05cfe011ca20
Automated merge with ssh://p-omega1@lgcm.iro.umontreal.ca/tlearn
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Tue, 06 May 2008 10:53:28 -0400 |
parents | 6fe972a7393c |
children | 7186e4f502d1 |
line wrap: on
line diff
--- a/dataset.py Mon May 05 18:14:44 2008 -0400 +++ b/dataset.py Tue May 06 10:53:28 2008 -0400 @@ -33,9 +33,6 @@ - for val1,val2,val3 in dataset(field1, field2,field3): - for minibatch in dataset.minibatches([field1, field2, ...],minibatch_size=N): - for mini1,mini2,mini3 in dataset.minibatches([field1, field2, field3], minibatch_size=N): - - for example in dataset:: - print example['x'] - - for x,y,z in dataset: Each of these is documented below. All of these iterators are expected to provide, in addition to the usual 'next()' method, a 'next_index()' method which returns a non-negative integer pointing to the position of the next