Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scoffier <github@metm.org>2011-10-07 18:34:34 +0400
committerMarco Scoffier <github@metm.org>2011-10-07 18:34:34 +0400
commit32096b2fe0f94e405f3611febca94453ff9ad70b (patch)
tree7ac8da48e0f585a219979b07521d9e9f2ee4214d
parent7e7c5bdc12ce6f261f20e9701a7ae19741fe3ba6 (diff)
make morethuente the default linesearch in the test examples
-rw-r--r--test/test_cg.lua2
-rw-r--r--test/test_lbfgs.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_cg.lua b/test/test_cg.lua
index a799f2e..9408a6c 100644
--- a/test/test_cg.lua
+++ b/test/test_cg.lua
@@ -6,7 +6,7 @@ require 'liblbfgs'
maxIterations = 100
maxLineSearch = 40
maxEvaluation = 25
-linesearch = 2
+linesearch = 0
momentum = 0
verbose = 3
nparam = 2
diff --git a/test/test_lbfgs.lua b/test/test_lbfgs.lua
index b6eea8f..d9bba53 100644
--- a/test/test_lbfgs.lua
+++ b/test/test_lbfgs.lua
@@ -6,7 +6,7 @@ maxIterations = 100
maxLineSearch = 40
-- this is to compare with minFunc
maxEvaluation = 25
-linesearch = 2
+linesearch = 0
sparsity = 0
verbose = 3
nparam = 2