summaryrefslogtreecommitdiff
path: root/model/ranksvm.h
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-05-18 22:22:11 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-05-18 22:22:11 +0800
commitdef2bcd3f41a36e52b179aa435c5bf29c94dab5e (patch)
treeeaf8673aa3d682e5d29f88f56fe5d38892de7858 /model/ranksvm.h
parentd2b066e22c6d76928fc037bd858f1baa082a8fe1 (diff)
downloadranksvm-single.tar.gz
ranksvm-single.tar.bz2
ranksvm-single.zip
added openmp directivesingle
Diffstat (limited to 'model/ranksvm.h')
-rw-r--r--model/ranksvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/ranksvm.h b/model/ranksvm.h
index 9051343..20bb35a 100644
--- a/model/ranksvm.h
+++ b/model/ranksvm.h
@@ -26,7 +26,7 @@ protected:
int fsize;
public:
virtual int train(RidList &D)=0;
- virtual int predict(DataList &D,std::vector<double> &res)=0;
+ virtual int predict(RidList &D,std::vector<double> &res)=0;
// TODO Not sure how to construct this
// Possible solution: generate a nxn matrix each row contains the sorted list of ranker result.
int saveModel(const std::string fname);