diff linear_regression.py @ 432:8e4d2ebd816a

added a test for LinearRegression
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Tue, 29 Jul 2008 11:16:05 -0400
parents 0f8c81b0776d
children 111e547ffa7b
line wrap: on
line diff
--- a/linear_regression.py	Tue Jul 29 10:19:25 2008 -0400
+++ b/linear_regression.py	Tue Jul 29 11:16:05 2008 -0400
@@ -4,7 +4,7 @@
 the use of theano.
 """
 
-from pylearn.learner import OfflineLearningAlgorithm
+from pylearn.learner import OfflineLearningAlgorithm,OnlineLearningAlgorithm
 from theano import tensor as T
 from nnet_ops import prepend_1_to_each_row
 from theano.scalar import as_scalar