You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2020/11/18 12:17:03 UTC
[systemds] branch master updated: [MINOR] l2svm move verbose print
This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/master by this push:
new b0f584b [MINOR] l2svm move verbose print
b0f584b is described below
commit b0f584bcdaabcf918d1673389f1eb30b016a8cc8
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Wed Nov 18 13:12:53 2020 +0100
[MINOR] l2svm move verbose print
---
scripts/builtin/l2svm.dml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/builtin/l2svm.dml b/scripts/builtin/l2svm.dml
index fd99109..775db95 100644
--- a/scripts/builtin/l2svm.dml
+++ b/scripts/builtin/l2svm.dml
@@ -120,8 +120,6 @@ m_l2svm = function(Matrix[Double] X, Matrix[Double] Y, Boolean intercept = FALSE
h = dd + sum(Xd * sv * Xd)
step_sz = step_sz - g/h
continue1 = (g*g/h >= epsilon)
- if(verbose)
- print("Inner Iter:" + toString(iiter))
iiter = iiter + 1
}
@@ -137,7 +135,7 @@ m_l2svm = function(Matrix[Double] X, Matrix[Double] Y, Boolean intercept = FALSE
if(verbose) {
colstr = ifelse(columnId!=-1, ", Col:"+columnId + " ,", " ,")
- print("Iter:" + toString(iter) + colstr + " Obj:" + obj)
+ print("Iter:" + toString(iter) + "InnerIter:" + toString(iiter) +" --- "+ colstr + " Obj:" + obj)
}
tmp = sum(s * g_old)