summaryrefslogtreecommitdiff
path: root/model/rankaccu.h
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-04-12 10:59:08 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-04-12 10:59:08 +0800
commit4662779251de3b692c20d4e10980a795f04e7520 (patch)
tree9c73cb40236f3c8134f465a5eccbab0837d199df /model/rankaccu.h
parent6c77acb550288883c25b3c2a769313d5466dda70 (diff)
downloadranksvm-4662779251de3b692c20d4e10980a795f04e7520.tar.gz
ranksvm-4662779251de3b692c20d4e10980a795f04e7520.tar.bz2
ranksvm-4662779251de3b692c20d4e10980a795f04e7520.zip
validate, nDCG
Diffstat (limited to 'model/rankaccu.h')
-rw-r--r--model/rankaccu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/model/rankaccu.h b/model/rankaccu.h
new file mode 100644
index 0000000..3fe5379
--- /dev/null
+++ b/model/rankaccu.h
@@ -0,0 +1,13 @@
+//
+// Created by joe on 4/12/15.
+//
+
+#ifndef RANKSVM_RANKACCU_H
+#define RANKSVM_RANKACCU_H
+
+#include<vector>
+#include"../tools/dataProvider.h"
+
+int rank_accu(DataList &D,const std::vector<double> pred);
+
+#endif //RANKSVM_RANKACCU_H