# HG changeset patch # User delallea@valhalla.apstat.com # Date 1220550527 14400 # Node ID ce6b4fd3ab2960c4aefcdaba85be6277b5acba0b # Parent 2bb67e978c28a4f6d49020b8d0e7dd8c942b94e2 Fixed typo in help diff -r 2bb67e978c28 -r ce6b4fd3ab29 dataset.py --- 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):