comparison learner.py @ 143:b7ca3545186b

added missing raise
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Mon, 12 May 2008 15:08:09 -0400
parents 3f4e5c9bdc5e
children ceae4de18981
comparison
equal deleted inserted replaced
142:ad144fa72bf5 143:b7ca3545186b
116 and to the attributes that the stats collector needs for its computation. 116 and to the attributes that the stats collector needs for its computation.
117 That function is expected to operate on minibatches. 117 That function is expected to operate on minibatches.
118 The function returned makes use of the self.useInputAttributes() and 118 The function returned makes use of the self.useInputAttributes() and
119 sets the attributes specified by self.useOutputAttributes(). 119 sets the attributes specified by self.useOutputAttributes().
120 """ 120 """
121 raise AbstractFunction()
122
121 def attributeNames(self): 123 def attributeNames(self):
122 """ 124 """
123 A Learner may have attributes that it wishes to export to other objects. To automate 125 A Learner may have attributes that it wishes to export to other objects. To automate
124 such export, sub-classes should define here the names (list of strings) of these attributes. 126 such export, sub-classes should define here the names (list of strings) of these attributes.
125 127