summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 11:26:18 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 11:26:18 +0200
commit1acef4faf3bd4f5b495b6916e24214353b05ba9c (patch)
treed06d7f282925ba826c40c67462d04e910e50e0eb
parent866a74cca5b51a4abf1019dde1d7210191bb9276 (diff)
downloaddmc-1acef4faf3bd4f5b495b6916e24214353b05ba9c.tar.gz
dmc-1acef4faf3bd4f5b495b6916e24214353b05ba9c.tar.bz2
dmc-1acef4faf3bd4f5b495b6916e24214353b05ba9c.zip
Silence regress_frequency_removal output
-rw-r--r--regress_frequency_removal.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress_frequency_removal.m b/regress_frequency_removal.m
index bd6a343..8c3c696 100644
--- a/regress_frequency_removal.m
+++ b/regress_frequency_removal.m
@@ -3,8 +3,8 @@ function pred = regress_frequency_removal(price, quantity)
assert(size(quantity, 1) >= 14);
%test_count = size(quantity, 1);
test_count = 14;
- test_set = 1:test_count
- pred_set = size(quantity, 1)+1:size(price, 1)
+ test_set = 1:test_count;
+ pred_set = size(quantity, 1)+1:size(price, 1);
[q2, removed] = remove_sevenday_frequency(quantity(test_set, :));
pred = regress_pred(price([test_set pred_set],:), q2);