comparison _test_dataset.py @ 346:9de4274ad5ba

Automated merge with ssh://projects@lgcm.iro.umontreal.ca/hg/pylearn
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Tue, 17 Jun 2008 14:33:15 -0400
parents 2259f6fa4959 4efb503fd0da
children 3aa9e5a5802a
comparison
equal deleted inserted replaced
342:2259f6fa4959 346:9de4274ad5ba
531 531
532 test_all(a,ds) 532 test_all(a,ds)
533 533
534 del a, ds 534 del a, ds
535 535
536 def test_RenamedFieldsDataSet(self):
537 a = numpy.random.rand(10,4)
538 ds = ArrayDataSet(a,Example(['x','y','z','w'],[slice(3),3,[0,2],0]))
539 ds = FieldsSubsetDataSet(ds,['x','y','z'],['x1','y1','z1'])
540
541 test_all(a,ds)
542
543 del a, ds
544
536 def test_MinibatchDataSet(self): 545 def test_MinibatchDataSet(self):
537 raise NotImplementedError() 546 raise NotImplementedError()
538 def test_HStackedDataSet(self): 547 def test_HStackedDataSet(self):
539 raise NotImplementedError() 548 raise NotImplementedError()
540 def test_VStackedDataSet(self): 549 def test_VStackedDataSet(self):