Mercurial > pylearn
diff dataset.py @ 95:6fe972a7393c
removed duplicated example in comment
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Tue, 06 May 2008 10:52:45 -0400 |
parents | a289b8bed64c |
children | 7186e4f502d1 |
line wrap: on
line diff
--- a/dataset.py Mon May 05 17:44:49 2008 -0400 +++ b/dataset.py Tue May 06 10:52:45 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