summaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-05-16 19:39:20 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-05-16 19:39:20 +0800
commitd2b066e22c6d76928fc037bd858f1baa082a8fe1 (patch)
tree3c1de62b60bac93b03e16e40b90036f0998829c0 /model
parent0cd52e0cae3ab1f6411765dff69359809a0ae83e (diff)
downloadranksvm-d2b066e22c6d76928fc037bd858f1baa082a8fe1.tar.gz
ranksvm-d2b066e22c6d76928fc037bd858f1baa082a8fe1.tar.bz2
ranksvm-d2b066e22c6d76928fc037bd858f1baa082a8fe1.zip
dec cg iter
Diffstat (limited to 'model')
-rw-r--r--model/ranksvmtn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp
index 3b60c65..1414c81 100644
--- a/model/ranksvmtn.cpp
+++ b/model/ranksvmtn.cpp
@@ -11,7 +11,7 @@ const int maxiter = 40; // max iteration count
const double prec=1e-10; // precision
// conjugate gradient
const double cg_prec=1e-10; // precision
-const int cg_maxiter = 10;
+const int cg_maxiter = 5; // not worth having a large number
const int ls_maxiter = 10;
// line search
const double line_prec=1e-10; // precision