File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,11 @@ The code to do this in Theano is the following:
6868 b = theano.shared(numpy.zeros((10,)), name='b')
6969 W = theano.shared(numpy.zeros((784, 10)), name='W')
7070
71- # symbolic expression for computing the vector of
72- # class-membership probabilities
71+ # symbolic expression for computing the matrix of class-membership probabilities
72+ # Where:
73+ # W is a matrix where column-k represent the separation hyper plain for class-k
74+ # x is a matrix where row-j represents input training sample-j
75+ # b is a vector where element-k represent the free parameter of hyper plain-k
7376 p_y_given_x = T.nnet.softmax(T.dot(x, W) + b)
7477
7578 # compiled Theano function that returns the vector of class-membership
You can’t perform that action at this time.
0 commit comments