From 3c62d2ca6c0c9cd7c8e72c9abf9d58e311b9b2e1 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Fri, 5 Jun 2015 10:32:02 +0800 Subject: decouple c --- model/ranksvmtn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp index 15a5e10..280f32a 100644 --- a/model/ranksvmtn.cpp +++ b/model/ranksvmtn.cpp @@ -261,7 +261,7 @@ int RSVMTN::train(RidList &D){ LOG(INFO)<<"Processing input"; for (i=0;i0?0.5:-0.5; - RC=2.0*C; + RC=2.0*C/D.getSize(); train_orig(fsize,D,corr,model.weight); return 0; }; -- cgit v1.2.3-70-g09d2