changeset 453:ce6b4fd3ab29

Fixed typo in help
author delallea@valhalla.apstat.com
date Thu, 04 Sep 2008 13:48:47 -0400
parents 2bb67e978c28
children 6e7509acb1c0
files dataset.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Wed Sep 03 17:14:49 2008 -0400
+++ b/dataset.py	Thu Sep 04 13:48:47 2008 -0400
@@ -386,7 +386,7 @@
         @ATTENTION: minibatches returns a LookupList, we can't iterate over examples on it.
 
         """
-        #return DataSet.MinibatchWrapAroundIterator(self,fieldnames,minibatch_size,n_batches,offset)\
+        #return DataSet.MinibatchWrapAroundIterator(self, fieldnames, minibatch_size, n_batches,offset)
         assert offset >= 0
         assert offset < len(self)
         assert offset + minibatch_size -1 < len(self)
@@ -1200,7 +1200,7 @@
     An ArrayDataSet stores the fields as groups of columns in a numpy tensor,
     whose first axis iterates over examples, second axis determines fields.
     If the underlying array is N-dimensional (has N axes), then the field
-    values are (N-2)-dimensional objects (i.e. ordinary numbers if N=2).
+    values are (N-1)-dimensional objects (i.e. ordinary numbers if N=2).
     """
 
     def __init__(self, data_array, fields_columns, **kwargs):