comparison dataset.py @ 378:835830e52b42

fixing merge
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Mon, 07 Jul 2008 12:02:34 -0400
parents 18702ceb2096
children 32c5f87bc54e
comparison
equal deleted inserted replaced
377:67c339260875 378:835830e52b42
103 103
104 - dataset[i1:i2:s] returns an Example with the examples i1,i1+s,...i2-s. 104 - dataset[i1:i2:s] returns an Example with the examples i1,i1+s,...i2-s.
105 105
106 - dataset[i] returns an Example. 106 - dataset[i] returns an Example.
107 107
108 - dataset[[i1,i2,...in]] returns a. Example with examples i1,i2,...in. 108 - dataset[[i1,i2,...in]] returns an Example with examples i1,i2,...in.
109 109
110 A similar command gives you a DataSet instead of Examples : 110 A similar command gives you a DataSet instead of Examples :
111 111
112 - dataset.subset[:n] returns a DataSet with the n first examples. 112 - dataset.subset[:n] returns a DataSet with the n first examples.
113 113