diff linear_regression.py @ 118:d0a1bd0378c6

Finished draft of OneHiddenLayerNNetClassifier to debut learner.py
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Wed, 07 May 2008 15:07:56 -0400
parents 88257dfedf8c
children f6505ec32dc3
line wrap: on
line diff
--- a/linear_regression.py	Wed May 07 09:16:04 2008 -0400
+++ b/linear_regression.py	Wed May 07 15:07:56 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]