summaryrefslogtreecommitdiff
path: root/test/test_stochastic.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_stochastic.py')
-rw-r--r--test/test_stochastic.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_stochastic.py b/test/test_stochastic.py
index 0128317..f0f3fc8 100644
--- a/test/test_stochastic.py
+++ b/test/test_stochastic.py
@@ -32,7 +32,7 @@ def test_stochastic_sag():
# test sag
n = 15
reg = 1
- numItermax = 300000
+ numItermax = 30000
rng = np.random.RandomState(0)
x = rng.randn(n, 2)
@@ -62,7 +62,7 @@ def test_stochastic_asgd():
# test asgd
n = 15
reg = 1
- numItermax = 300000
+ numItermax = 100000
rng = np.random.RandomState(0)
x = rng.randn(n, 2)
@@ -92,7 +92,7 @@ def test_sag_asgd_sinkhorn():
# test all algorithms
n = 15
reg = 1
- nb_iter = 300000
+ nb_iter = 100000
rng = np.random.RandomState(0)
x = rng.randn(n, 2)
@@ -167,7 +167,7 @@ def test_dual_sgd_sinkhorn():
# test all dual algorithms
n = 10
reg = 1
- nb_iter = 150000
+ nb_iter = 15000
batch_size = 10
rng = np.random.RandomState(0)