diff linear_regression.py @ 119:7ffecde9dadc

Automated merge with ssh://p-omega1@lgcm.iro.umontreal.ca/tlearn
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Wed, 07 May 2008 15:08:18 -0400
parents d0a1bd0378c6
children f6505ec32dc3
line wrap: on
line diff
--- a/linear_regression.py	Wed May 07 13:07:33 2008 -0400
+++ b/linear_regression.py	Wed May 07 15:08:18 2008 -0400
@@ -114,7 +114,7 @@
         self._new_XtY = add_inplace(self._XtY,t.dot(self._extended_input.T,self._target))
         self._new_theta = t.solve_inplace(self._theta,self._XtX,self._XtY)
 
-        OneShotTLearner.__init__(self)
+        MinibatchUpdatesTLearner.__init__(self)
             
     def allocate(self,minibatch):
         minibatch_n_inputs  = minibatch["input"].shape[1]