From 68b7998f12e7e3c9b257a9d2a4c14e8d32a048b9 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Thu, 12 Mar 2015 18:21:48 +0800 Subject: modeling --- model/ranksvm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'model/ranksvm.h') diff --git a/model/ranksvm.h b/model/ranksvm.h index edb80f6..b4ec7ce 100644 --- a/model/ranksvm.h +++ b/model/ranksvm.h @@ -6,6 +6,13 @@ #include"../tools/dataProvider.h" #include "../tools/easylogging++.h" +// Model File: +// Model type -> String +// Number of features (fsize) -> int +// Weight matrix size, (fsize,1) -> (int,int) +// Weight vector +// beta + typedef struct SVMModel{ Eigen::VectorXd weight; double beta; -- cgit v1.2.3-70-g09d2