changeset 853:972303bef0bf

fix backport.
author Frederic Bastien <nouiz@nouiz.org>
date Tue, 03 Nov 2009 10:32:51 -0500
parents d15683416ebf
children 62df19a86359
files pylearn/algorithms/regressor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/algorithms/regressor.py	Tue Nov 03 09:50:54 2009 -0500
+++ b/pylearn/algorithms/regressor.py	Tue Nov 03 10:32:51 2009 -0500
@@ -16,7 +16,7 @@
         if input:
           self.input = input
         else:
-          self.target = target
+          self.input = T.dmatrix('input')
 
         if target:
           self.target = target