summaryrefslogtreecommitdiff
path: root/model/ranksvm.cpp
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-05-27 13:22:16 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-05-27 13:22:16 +0800
commit556593fdd54ddcca5014fe6ed2911615dab4d36a (patch)
tree268df28cf12b13ed794ac34758bf7092103d0418 /model/ranksvm.cpp
parent2df038e399a97cc80c9d57682d05f1eeaa9ced89 (diff)
downloadranksvm-556593fdd54ddcca5014fe6ed2911615dab4d36a.tar.gz
ranksvm-556593fdd54ddcca5014fe6ed2911615dab4d36a.tar.bz2
ranksvm-556593fdd54ddcca5014fe6ed2911615dab4d36a.zip
variable input
Diffstat (limited to 'model/ranksvm.cpp')
-rw-r--r--model/ranksvm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/model/ranksvm.cpp b/model/ranksvm.cpp
index 2f366d6..368e16d 100644
--- a/model/ranksvm.cpp
+++ b/model/ranksvm.cpp
@@ -15,11 +15,11 @@ int maxiter = 1; // max iteration count
double prec=1e-10; // precision
// conjugate gradient
double cg_prec=1e-10; // precision
-int cg_maxiter = 2000;
+int cg_maxiter = 100;
int ls_maxiter = 20;
// line search
-double line_prec=1e-10; // precision
-double line_turb=1e-15; // purturbation
+double ls_prec=1e-10; // precision
+double ls_turb=1e-15; // purturbation
int RSVM::saveModel(const string fname){