comparison dataset.py @ 197:96d891448107

more explicit comment
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Tue, 13 May 2008 15:29:04 -0400
parents bda6d89d0b3d
children 136f78559138
comparison
equal deleted inserted replaced
196:bda6d89d0b3d 197:96d891448107
1094 """ 1094 """
1095 A L{DataSet} that contains as fields the results of applying a 1095 A L{DataSet} that contains as fields the results of applying a
1096 given function example-wise or minibatch-wise to all the fields of 1096 given function example-wise or minibatch-wise to all the fields of
1097 an input dataset. The output of the function should be an iterable 1097 an input dataset. The output of the function should be an iterable
1098 (e.g. a list or a LookupList) over the resulting values. 1098 (e.g. a list or a LookupList) over the resulting values.
1099
1100 The function take as input the fields of the dataset, not the examples.
1099 1101
1100 In minibatch mode, the function is expected to work on minibatches 1102 In minibatch mode, the function is expected to work on minibatches
1101 (takes a minibatch in input and returns a minibatch in output). More 1103 (takes a minibatch in input and returns a minibatch in output). More
1102 precisely, it means that each element of the input or output list 1104 precisely, it means that each element of the input or output list
1103 should be iterable and indexable over the individual example values 1105 should be iterable and indexable over the individual example values