Mercurial > pylearn
comparison test_dataset.py @ 138:86bc934a7518
futur test
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 12 May 2008 13:54:54 -0400 |
parents | d3c72e412065 |
children | 0c6fec172ae1 |
comparison
equal
deleted
inserted
replaced
137:ff6b7bfb6cdc | 138:86bc934a7518 |
---|---|
318 #the name <property>. The following properties should be supported: | 318 #the name <property>. The following properties should be supported: |
319 # - 'description': a textual description or name for the ds | 319 # - 'description': a textual description or name for the ds |
320 # - 'fieldtypes': a list of types (one per field) | 320 # - 'fieldtypes': a list of types (one per field) |
321 | 321 |
322 #* ds1 | ds2 | ds3 == ds.hstack([ds1,ds2,ds3])#???? | 322 #* ds1 | ds2 | ds3 == ds.hstack([ds1,ds2,ds3])#???? |
323 #hstack([ds('x','y'),ds('z')] | |
324 #hstack([ds('z','y'),ds('x')] | |
325 #assert have_thrown("hstack([ds('x'),ds('x')]") | |
326 #assert not have_thrown("hstack([ds('x'),ds('x')]") | |
327 #accept_nonunique_names | |
328 #assert have_thrown("hstack([ds('y','x'),ds('x')]") | |
323 i=0 | 329 i=0 |
324 for example in hstack([ds('x'),ds('y'),ds('z')]): | 330 for example in hstack([ds('x'),ds('y'),ds('z')]): |
325 example==ds[i] | 331 example==ds[i] |
326 i+=1 | 332 i+=1 |
327 del i,example | 333 del i,example |