comparison learner.py @ 144:ceae4de18981

Automated merge with ssh://p-omega1@lgcm.iro.umontreal.ca/tlearn
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Mon, 12 May 2008 15:08:18 -0400
parents 0d8e721cc63c b7ca3545186b
children 4803cb76e26b
comparison
equal deleted inserted replaced
135:0d8e721cc63c 144:ceae4de18981
122 and to the attributes that the stats collector needs for its computation. 122 and to the attributes that the stats collector needs for its computation.
123 That function is expected to operate on minibatches. 123 That function is expected to operate on minibatches.
124 The function returned makes use of the self.useInputAttributes() and 124 The function returned makes use of the self.useInputAttributes() and
125 sets the attributes specified by self.useOutputAttributes(). 125 sets the attributes specified by self.useOutputAttributes().
126 """ 126 """
127 raise AbstractFunction()
128
127 def attributeNames(self): 129 def attributeNames(self):
128 """ 130 """
129 A Learner may have attributes that it wishes to export to other objects. To automate 131 A Learner may have attributes that it wishes to export to other objects. To automate
130 such export, sub-classes should define here the names (list of strings) of these attributes. 132 such export, sub-classes should define here the names (list of strings) of these attributes.
131 133