diff options
Diffstat (limited to 'run_tests.m')
-rw-r--r-- | run_tests.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.m b/run_tests.m index 3ef7aeb..34a758f 100644 --- a/run_tests.m +++ b/run_tests.m @@ -10,9 +10,9 @@ real_data = q(29:42, :); m = @(n,f) struct('name', n, 'func', f ); pred_methods = [ m('mean', @mean_pred) - m('regress', @(p,q) regress_pred(p, q, @(x)x)) - m('quad', @quad_regress_pred) - m('log reg.', @(p,q) regress_pred(p, q, @log)) + m('regress', @(p,q) regress_pred(p, q, 1, @(x)x)) + m('quad', @(p,q) regress_pred(p, q, 2, @(x)x)) + m('log reg.', @(p,q) regress_pred(p, q, 1, @log)) m('sevenday', @sevenday_pred) % m('norm rand.',@rand_pred) % m('chi rand.',@chi_pred) |