Mercurial > pylearn
comparison test_dataset.py @ 195:363752267470
typo
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Tue, 13 May 2008 15:12:45 -0400 |
parents | 0040ba0f0666 |
children | b9950ae5e54b |
comparison
equal
deleted
inserted
replaced
194:0040ba0f0666 | 195:363752267470 |
---|---|
444 a = numpy.random.rand(10,4) | 444 a = numpy.random.rand(10,4) |
445 ds1 = ArrayDataSet(a,LookupList(['x','y','z'],[slice(3),3,[0,2]]))###???tuple not tested | 445 ds1 = ArrayDataSet(a,LookupList(['x','y','z'],[slice(3),3,[0,2]]))###???tuple not tested |
446 ds2 = CachedDataSet(ds1) | 446 ds2 = CachedDataSet(ds1) |
447 ds3 = CachedDataSet(ds1,cache_all_upon_construction=True) | 447 ds3 = CachedDataSet(ds1,cache_all_upon_construction=True) |
448 | 448 |
449 test_all(a2,ds2) | 449 test_all(a,ds2) |
450 test_all(a2,ds3) | 450 test_all(a,ds3) |
451 | 451 |
452 del a,ds1,ds2,ds3 | 452 del a,ds1,ds2,ds3 |
453 | 453 |
454 | 454 |
455 def test_DataSetFields(): | 455 def test_DataSetFields(): |