Mercurial > pylearn
diff gradient_learner.py @ 29:46c5c90019c2
Changed apply_function so that it propagates methods of the source.
author | bengioy@grenat.iro.umontreal.ca |
---|---|
date | Fri, 11 Apr 2008 15:46:18 -0400 |
parents | 672fe4b23032 |
children |
line wrap: on
line diff
--- a/gradient_learner.py Fri Apr 11 13:08:51 2008 -0400 +++ b/gradient_learner.py Fri Apr 11 15:46:18 2008 -0400 @@ -59,7 +59,7 @@ self.use_function[use_function_key]=Function(input_variables,output_variables) use_function = self.use_functions[use_function_key] # return a dataset that computes the outputs - return input_dataset.applyFunction(use_function,input_fields,output_fields,copy_inputs,compute_now=True) + return input_dataset.apply_function(use_function,input_fields,output_fields,copy_inputs,compute_now=True) class StochasticGradientDescent(object):