summaryrefslogtreecommitdiff
path: root/model/ranksvm.h
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-05-19 19:40:56 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-05-19 19:40:56 +0800
commitd5ab835ea462b4e75298b34fb8f61dbf14793aa8 (patch)
tree83e7d7b2f71284416f554a16141cfb7f5463a776 /model/ranksvm.h
parentea39d8f1ac02646e51f3f05cb8c4309bfb7bc3b8 (diff)
downloadranksvm-d5ab835ea462b4e75298b34fb8f61dbf14793aa8.tar.gz
ranksvm-d5ab835ea462b4e75298b34fb8f61dbf14793aa8.tar.bz2
ranksvm-d5ab835ea462b4e75298b34fb8f61dbf14793aa8.zip
extern all variable & const
Diffstat (limited to 'model/ranksvm.h')
-rw-r--r--model/ranksvm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/ranksvm.h b/model/ranksvm.h
index 20bb35a..41de0f4 100644
--- a/model/ranksvm.h
+++ b/model/ranksvm.h
@@ -38,5 +38,15 @@ public:
};
extern double C;// Compensating & scaling
+// Main terminating criteria
+extern int maxiter; // max iteration count
+extern double prec; // precision
+// conjugate gradient
+extern double cg_prec; // precision
+extern int cg_maxiter; // not worth having a large number
+extern int ls_maxiter;
+// line search
+extern double line_prec; // precision
+extern double line_turb; // purturbation
#endif \ No newline at end of file