# HG changeset patch # User Frederic Bastien # Date 1257262371 18000 # Node ID 972303bef0bf5c6f6b01d2cdc2c46d7ed2145d36 # Parent d15683416ebf78895f5b1a90e74059de6c200d8e fix backport. diff -r d15683416ebf -r 972303bef0bf pylearn/algorithms/regressor.py --- 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