Mercurial > pylearn
comparison test_dataset.py @ 139:0c6fec172ae1
commented broken test
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 12 May 2008 14:11:57 -0400 |
parents | 86bc934a7518 |
children | 933db7ece663 |
comparison
equal
deleted
inserted
replaced
138:86bc934a7518 | 139:0c6fec172ae1 |
---|---|
324 #hstack([ds('z','y'),ds('x')] | 324 #hstack([ds('z','y'),ds('x')] |
325 #assert have_thrown("hstack([ds('x'),ds('x')]") | 325 #assert have_thrown("hstack([ds('x'),ds('x')]") |
326 #assert not have_thrown("hstack([ds('x'),ds('x')]") | 326 #assert not have_thrown("hstack([ds('x'),ds('x')]") |
327 #accept_nonunique_names | 327 #accept_nonunique_names |
328 #assert have_thrown("hstack([ds('y','x'),ds('x')]") | 328 #assert have_thrown("hstack([ds('y','x'),ds('x')]") |
329 i=0 | 329 # i=0 |
330 for example in hstack([ds('x'),ds('y'),ds('z')]): | 330 # for example in hstack([ds('x'),ds('y'),ds('z')]): |
331 example==ds[i] | 331 # example==ds[i] |
332 i+=1 | 332 # i+=1 |
333 del i,example | 333 # del i,example |
334 #* ds1 & ds2 & ds3 == ds.vstack([ds1,ds2,ds3])#???? | 334 #* ds1 & ds2 & ds3 == ds.vstack([ds1,ds2,ds3])#???? |
335 | 335 |
336 | 336 |
337 print "test_ArrayDataSet" | 337 print "test_ArrayDataSet" |
338 a = numpy.random.rand(10,4) | 338 a = numpy.random.rand(10,4) |