Mercurial > pylearn
diff dataset.py @ 235:a70f2c973ea5
re-enabling old ArrayDataSet indexing
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Wed, 28 May 2008 14:09:19 -0400 |
parents | 38beb81f4e8b |
children | ae1d85aca858 |
line wrap: on
line diff
--- a/dataset.py Tue May 27 15:59:24 2008 -0400 +++ b/dataset.py Wed May 28 14:09:19 2008 -0400 @@ -987,7 +987,7 @@ for fieldname, fieldcolumns in self.fields_columns.items(): if type(fieldcolumns) is int: assert fieldcolumns>=0 and fieldcolumns<data_array.shape[1] - if 0: + if 1: #I changed this because it didn't make sense to me, # and it made it more difficult to write my learner. # If it breaks stuff, let's talk about it.