From 85a4962556b67d1cc0668ecb2fbb03b3b4dd6e7e Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Sat, 11 Apr 2015 17:46:19 +0800 Subject: completed & tested, train & predict --- model/ranksvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/ranksvm.h') diff --git a/model/ranksvm.h b/model/ranksvm.h index e82b6be..aa5e1ca 100644 --- a/model/ranksvm.h +++ b/model/ranksvm.h @@ -26,7 +26,7 @@ protected: int fsize; public: virtual int train(DataList &D)=0; - virtual int predict(DataList &D,std::list &res)=0; + virtual int predict(DataList &D,std::vector &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); -- cgit v1.2.3-70-g09d2