Skip to content

Commit

Permalink
Removed debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinshah committed Jun 7, 2014
1 parent a92c202 commit ac99c0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion softmax.py
Expand Up @@ -65,7 +65,6 @@ def softmax_train(input_size, num_classes, lambda_, data, labels, options={'maxi
# Initialize theta randomly
theta = 0.005 * np.random.randn(num_classes * input_size)

print data.shape, labels.shape
J = lambda x: softmax_cost(x, num_classes, input_size, lambda_, data, labels)

result = scipy.optimize.minimize(J, theta, method='L-BFGS-B', jac=True, options=options)
Expand Down

0 comments on commit ac99c0e

Please sign in to comment.