Mercurial > pylearn
comparison test_dataset.py @ 122:d3c72e412065
removed datat that should not be commited
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Wed, 07 May 2008 16:17:06 -0400 |
parents | 9330d941fa1f |
children | 86bc934a7518 |
comparison
equal
deleted
inserted
replaced
116:9330d941fa1f | 122:d3c72e412065 |
---|---|
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 # i=0 | 323 i=0 |
324 # for example in hstack([ds('x'),ds('y'),ds('z')]): | 324 for example in hstack([ds('x'),ds('y'),ds('z')]): |
325 # example==ds[i] | 325 example==ds[i] |
326 # i+=1 | 326 i+=1 |
327 # del i,example | 327 del i,example |
328 #* ds1 & ds2 & ds3 == ds.vstack([ds1,ds2,ds3])#???? | 328 #* ds1 & ds2 & ds3 == ds.vstack([ds1,ds2,ds3])#???? |
329 | 329 |
330 | 330 |
331 print "test_ArrayDataSet" | 331 print "test_ArrayDataSet" |
332 a = numpy.random.rand(10,4) | 332 a = numpy.random.rand(10,4) |
399 raise NotImplementedError() | 399 raise NotImplementedError() |
400 def test_ArrayFieldsDataSet(): | 400 def test_ArrayFieldsDataSet(): |
401 print "test_ArrayFieldsDataSet" | 401 print "test_ArrayFieldsDataSet" |
402 raise NotImplementedError() | 402 raise NotImplementedError() |
403 | 403 |
404 import pmat | |
405 | |
406 load_pmat_as_array_dataset("tmp.pmat") | |
407 | |
408 test1() | 404 test1() |
409 test_LookupList() | 405 test_LookupList() |
410 test_ArrayDataSet() | 406 test_ArrayDataSet() |
411 | 407 #test pmat.py |