You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ha...@apache.org on 2018/08/04 05:29:16 UTC

[incubator-mxnet] branch master updated: Fix flaky tests for test_squared_hinge_loss (#12017)

This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 09add8a  Fix flaky tests for test_squared_hinge_loss (#12017)
09add8a is described below

commit 09add8a602c6dfffe578e935027e32e46fe7da8b
Author: Zach Kimberg <za...@kimberg.com>
AuthorDate: Fri Aug 3 22:29:08 2018 -0700

    Fix flaky tests for test_squared_hinge_loss (#12017)
---
 tests/python/unittest/test_loss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/unittest/test_loss.py b/tests/python/unittest/test_loss.py
index 3c147bc..3fb9d78 100644
--- a/tests/python/unittest/test_loss.py
+++ b/tests/python/unittest/test_loss.py
@@ -310,7 +310,7 @@ def test_hinge_loss():
     assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05
 
 
-@with_seed(1234)
+@with_seed()
 def test_squared_hinge_loss():
     N = 20
     data = mx.random.uniform(-1, 1, shape=(N, 10))