summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 16:34:07 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 16:34:07 +0200
commitba33d8ccb58f9bd7ecdd4903067cdf465ad49b84 (patch)
tree41248785b221549a175cd10428c555e2461f4d35
parent9340c9808fbea07e1d8a959699dff9bf0df06bd9 (diff)
downloaddmc-ba33d8ccb58f9bd7ecdd4903067cdf465ad49b84.tar.gz
dmc-ba33d8ccb58f9bd7ecdd4903067cdf465ad49b84.tar.bz2
dmc-ba33d8ccb58f9bd7ecdd4903067cdf465ad49b84.zip
run_tests: Disable all plots
-rw-r--r--calc_error.m12
-rw-r--r--run_tests.m4
2 files changed, 8 insertions, 8 deletions
diff --git a/calc_error.m b/calc_error.m
index 2f7e9c6..bedee9e 100644
--- a/calc_error.m
+++ b/calc_error.m
@@ -6,10 +6,10 @@ function [quad, total, local] = calc_error(name, data, pred)
printf('%-11s quad: %d\t total: %d\n', name, quad, total);
- plot((sum(abs(data - pred))), '-ob;unsorted;');
- hold on;
- plot(sort(sum(abs(data - pred))), '-or;sorted;');
- hold off;
- xlabel('products');
- ylabel('total error');
+ %plot((sum(abs(data - pred))), '-ob;unsorted;');
+ %hold on;
+ %plot(sort(sum(abs(data - pred))), '-or;sorted;');
+ %hold off;
+ %xlabel('products');
+ %ylabel('total error');
end
diff --git a/run_tests.m b/run_tests.m
index f0ccc6d..4ab6922 100644
--- a/run_tests.m
+++ b/run_tests.m
@@ -32,8 +32,8 @@ end
opt_data = opt_pred(real_data, pred_list);
[qerr(end+1), terr(end+1), opt_err] = calc_error('optimize', real_data, opt_data);
-bar(qerr);
-bar(terr);
+%bar(qerr);
+%bar(terr);
[min_err, err_idx] = min(err);
printf('global min. error: %d\n', sum(min_err));