Mercurial > pylearn
comparison test_dataset.py @ 60:9165d86855ab
bugfix
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Thu, 01 May 2008 16:26:34 -0400 |
parents | 17729d7104fa |
children | 14589f02a372 |
comparison
equal
deleted
inserted
replaced
59:ac9aff8d5743 | 60:9165d86855ab |
---|---|
74 for field in ds.fields(): | 74 for field in ds.fields(): |
75 for field_value in field: # iterate over the values associated to that field for all the ds examples | 75 for field_value in field: # iterate over the values associated to that field for all the ds examples |
76 pass | 76 pass |
77 for field in ds('x','z').fields(): | 77 for field in ds('x','z').fields(): |
78 pass | 78 pass |
79 for field in ds.fields(field1,field2): | 79 for field in ds.fields('x','y'): |
80 pass | 80 pass |
81 for field_examples in ds.fields(): | 81 for field_examples in ds.fields(): |
82 for example_value in field_examples: | 82 for example_value in field_examples: |
83 pass | 83 pass |
84 test_ArrayDataSet() | 84 test_ArrayDataSet() |