Skip to content

Commit

Permalink
Minor string format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlowery committed Mar 16, 2017
1 parent dba2be6 commit 51538e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ex3/ex3_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

pred = predict(Theta1, Theta2, X)

print('Training Set Accuracy: %f\n', np.mean(np.double(pred == np.squeeze(y))) * 100)
print('Training Set Accuracy: %f\n' % (np.mean(np.double(pred == np.squeeze(y))) * 100))

input('Program paused. Press Enter to continue...')

Expand Down

0 comments on commit 51538e4

Please sign in to comment.