Mercurial > pylearn
diff algorithms/regressor.py @ 516:2b0e10ac6929
misc
author | Olivier Breuleux <breuleuo@iro.umontreal.ca> |
---|---|
date | Mon, 03 Nov 2008 00:10:18 -0500 |
parents | 8fcd0f3d9a17 |
children |
line wrap: on
line diff
--- a/algorithms/regressor.py Fri Oct 31 16:37:19 2008 -0400 +++ b/algorithms/regressor.py Mon Nov 03 00:10:18 2008 -0500 @@ -45,6 +45,7 @@ # INTERFACE METHODS self.update = theano.Method([self.input, self.target], self.cost, updates) + self.get_cost = theano.Method([self.input, self.target], self.cost) self.predict = theano.Method(self.input, self.output) self.build_extensions()