From: cjlin Date: Fri, 21 Aug 2009 14:04:11 +0000 (+0000) Subject: correct the comment on instance weights X-Git-Tag: v140~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc3c714a8268245d16437e953646effe1e4fd7c8;p=liblinear correct the comment on instance weights --- diff --git a/linear.cpp b/linear.cpp index 74978c3..bd6271c 100644 --- a/linear.cpp +++ b/linear.cpp @@ -923,7 +923,7 @@ static void solve_l1_l2_svc( feature_node *x; // To support weights for instances, - // replace C[y[ind]] with C[i]. + // replace C[y[i]] with C[i]. double C[2] = {Cn,Cp}; for(i=0; i