From: cjlin Date: Sat, 4 Sep 2010 01:06:27 +0000 (+0000) Subject: For each solver, show the corresponding reference X-Git-Tag: v170~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c89c5b97c3e6478929a1e9de18969ba97fbdfe02;p=liblinear For each solver, show the corresponding reference (i.e., Algorithm ?? in ?? paper) --- diff --git a/linear.cpp b/linear.cpp index 509dfbb..9058c19 100644 --- a/linear.cpp +++ b/linear.cpp @@ -391,6 +391,8 @@ void l2r_l2_svc_fun::subXTv(double *v, double *XTv) // eps is the stopping tolerance // // solution will be put in w +// +// See Appendix of LIBLINEAR paper, Fan et al. (2008) #define GETI(i) (prob->y[i]) // To support weights for instances, use GETI(i) (i) @@ -699,6 +701,8 @@ void Solver_MCSVM_CS::Solve(double *w) // eps is the stopping tolerance // // solution will be put in w +// +// See Algorithm 3 of Hsieh et al., ICML 2008 #undef GETI #define GETI(i) (y[i]+1) @@ -893,6 +897,8 @@ static void solve_l2r_l1l2_svc( // eps is the stopping tolerance // // solution will be put in w +// +// See Yuan et al. (2010) and appendix of LIBLINEAR paper, Fan et al. (2008) #undef GETI #define GETI(i) (y[i]+1) @@ -1172,6 +1178,8 @@ static void solve_l1r_l2_svc( // eps is the stopping tolerance // // solution will be put in w +// +// See Yuan et al. (2010) and appendix of LIBLINEAR paper, Fan et al. (2008) #undef GETI #define GETI(i) (y[i]+1)