changeset 454:6e7509acb1c0

Merged
author delallea@valhalla.apstat.com
date Thu, 02 Oct 2008 13:41:43 -0400
parents ce6b4fd3ab29 (diff) 739612d316a4 (current diff)
children fb62f0e4bcfe
files dataset.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Mon Sep 29 16:04:51 2008 -0400
+++ b/dataset.py	Thu Oct 02 13:41:43 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):