Mercurial > pylearn
diff dataset.py @ 90:a289b8bed64c
corrected comment
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 05 May 2008 17:13:07 -0400 |
parents | 6749d18e11c8 |
children | 6fe972a7393c |
line wrap: on
line diff
--- a/dataset.py Mon May 05 16:54:16 2008 -0400 +++ b/dataset.py Mon May 05 17:13:07 2008 -0400 @@ -27,8 +27,10 @@ feasible or not recommanded on streams). To iterate over examples, there are several possibilities: - - for example in dataset([field1, field2,field3, ...]): - - for val1,val2,val3 in dataset([field1, field2,field3]): + - for example in dataset: + - for val1,val2,... in dataset: + - for example in dataset(field1, field2,field3, ...): + - 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::