Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #15 from fbreuer/master

Fix argmax call in logreg tutorial docs to include axis=1.
  • Loading branch information...
commit 400c63707a8f515e64643728bcd6cac3ab26a466 2 parents 90a1bed + 940cb40
Pascal Lamblin lamblin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/logreg.txt
2  doc/logreg.txt
View
@@ -83,7 +83,7 @@ The code to do this in Theano is the following:
# symbolic description of how to compute prediction as class whose probability
# is maximal
- y_pred = T.argmax(p_y_given_x)
+ y_pred = T.argmax(p_y_given_x, axis=1)
# compiled theano function that returns this value
classify = theano.function(inputs=[x], outputs=y_pred)
Please sign in to comment.
Something went wrong with that request. Please try again.