summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 16:31:50 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 20:04:13 +0200
commit19b83ed059102f369a0c84e7f2c1e06b5c9ea106 (patch)
tree4a47ce01a173d3e1ed46b26d002125b5569c7607
parent020f82903d960f379a3b127c0f46d6bf1106cb26 (diff)
downloaddmc-19b83ed059102f369a0c84e7f2c1e06b5c9ea106.tar.gz
dmc-19b83ed059102f369a0c84e7f2c1e06b5c9ea106.tar.bz2
dmc-19b83ed059102f369a0c84e7f2c1e06b5c9ea106.zip
Explicitly state that price indexes have to correlate with quantities
-rw-r--r--run_tests.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.m b/run_tests.m
index 34a758f..e33f19b 100644
--- a/run_tests.m
+++ b/run_tests.m
@@ -3,9 +3,9 @@
% quantity sum over a day
%plot(sum(q'));
-p = pall(1:42, :);
-train_data = q( 1:28, :);
-real_data = q(29:42, :);
+p = pall([1:28 29:42], :);
+train_data = q([1:28], :);
+real_data = q([29:42], :);
m = @(n,f) struct('name', n, 'func', f );
pred_methods = [