Mercurial > pylearn
diff pylearn/algorithms/logistic_regression.py @ 591:3f9ec536f2c1
Two minor fixes.
author | Joseph Turian <turian@iro.umontreal.ca> |
---|---|
date | Fri, 19 Dec 2008 16:46:51 -0500 |
parents | e878003c3009 |
children | bd777e960c7c |
line wrap: on
line diff
--- a/pylearn/algorithms/logistic_regression.py Wed Dec 17 18:16:30 2008 -0500 +++ b/pylearn/algorithms/logistic_regression.py Fri Dec 19 16:46:51 2008 -0500 @@ -48,7 +48,7 @@ else: # TODO: when above is fixed, remove this hack (need an argmax # which is independent of targets) - self.argmax_standalone = T.argmax(self.linear_output); + self.argmax_standalone = T.argmax(self.linear_output) (self._xent, self.softmax, self._max_pr, self.argmax) =\ nnet.crossentropy_softmax_max_and_argmax_1hot( self.linear_output, self.target)