Mercurial > pylearn
changeset 236:6aff510792dd
code cleanup
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Wed, 28 May 2008 14:16:28 -0400 |
parents | 9504940ef5ef |
children | 584ad7c55876 |
files | test_dataset.py |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test_dataset.py Tue May 27 15:59:24 2008 -0400 +++ b/test_dataset.py Wed May 28 14:16:28 2008 -0400 @@ -494,10 +494,7 @@ print "test_speed" import time a2 = numpy.random.rand(100000,400) - ds = ArrayDataSet(a2,{'x':slice(3),'y':3,'z':[0,2]})###???tuple not tested - ds = ArrayDataSet(a2,LookupList(['x','y','z'],[slice(3),3,[0,2]]))###???tuple not tested ds = ArrayDataSet(a2,{'all':slice(0,a2.shape[1],1)}) - #assert ds==a? should this work? mat = numpy.random.rand(400,100) @print_timing def f_array1(a):