From 482be9136a726923eb24c9f5c0244e94c0fc91bc Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 20 May 2015 19:04:03 +0800 Subject: term condition --- model/ranksvmtn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/ranksvmtn.cpp') diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp index ba2d5a3..5916170 100644 --- a/model/ranksvmtn.cpp +++ b/model/ranksvmtn.cpp @@ -241,7 +241,7 @@ int train_orig(int fsize, RidList &Data,const VectorXd &corr,VectorXd &weight){ double nprec = step.dot(grad)/obj; ++iter; LOG(INFO)<<"Iter: "< maxiter) + if (iter>= maxiter) { LOG(INFO)<< "Maxiter reached"; break; -- cgit v1.2.3-70-g09d2