Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
log testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Sep 20, 2015
1 parent ad44533 commit 16e9913
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/python/train/test_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ def test_mlp():
y = np.concatenate([label.asnumpy() for _, label in val_dataiter]).astype('int')
py = np.argmax(prob, axis=1)
acc1 = float(np.sum(py == y)) / len(y)
sys.stderr.write('final accuracy = %f\n', acc1)
sys.stderr.flush()
logging.info('final accuracy = %f', acc1)
assert(acc1 > 0.95)

Expand Down

0 comments on commit 16e9913

Please sign in to comment.