Mercurial > pylearn
diff dataset.py @ 132:f6505ec32dc3
Updated documentation slightly
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Thu, 08 May 2008 00:54:14 -0400 |
parents | ee5507af2c60 |
children | 3f4e5c9bdc5e |
line wrap: on
line diff
--- a/dataset.py Wed May 07 21:40:15 2008 -0400 +++ b/dataset.py Thu May 08 00:54:14 2008 -0400 @@ -69,7 +69,7 @@ but when the dataset is a stream (unbounded length), it is not recommanded to do such things because the underlying dataset may refuse to access the different fields in an unsynchronized ways. Hence the fields() method is illegal for streams, by default. - The result of fields() is a DataSetFields object, which iterates over fields, + The result of fields() is a L{DataSetFields} object, which iterates over fields, and whose elements are iterable over examples. A DataSetFields object can be turned back into a DataSet with its examples() method:: dataset2 = dataset1.fields().examples()