From 8f2ee4b160ef7a7eaca501a11a302075af57c715 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 5 Aug 2013 19:08:20 +0200 Subject: less verbosity in progress, alphabetize cmd options, remove init of n, m, K --- src/libMSVMMaj.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libMSVMMaj.c') diff --git a/src/libMSVMMaj.c b/src/libMSVMMaj.c index 1976262..04c5035 100644 --- a/src/libMSVMMaj.c +++ b/src/libMSVMMaj.c @@ -226,7 +226,7 @@ void main_loop(struct Model *model, struct Data *data) Lbar = L; L = get_msvmmaj_loss(model, data, ZV); - if (it%1 == 0) + if (it%500 == 0) info("iter = %li, L = %15.16f, Lbar = %15.16f, reldiff = %15.16f\n", it, L, Lbar, (Lbar - L)/L); it++; @@ -253,7 +253,6 @@ void main_loop(struct Model *model, struct Data *data) free(ZAZ); free(ZAZV); free(ZAZVT); - } void step_doubling(struct Model *model) -- cgit v1.2.3