projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge with remote
[talweg.git]
/
reports
/
year2015.gj
diff --git
a/reports/year2015.gj
b/reports/year2015.gj
index
58340e7
..
678b962
100644
(file)
--- a/
reports/year2015.gj
+++ b/
reports/year2015.gj
@@
-14,11
+14,11
@@
indices = seq(as.Date("2015-01-01"),as.Date("2015-12-31"),"days")
-----r
p1 = computeForecast(data, indices, "Neighbors", "Neighbors",
predict_from=P, horizon=H, simtype="mix", local=FALSE)
-----r
p1 = computeForecast(data, indices, "Neighbors", "Neighbors",
predict_from=P, horizon=H, simtype="mix", local=FALSE)
-p2 = computeForecast(data, indices, "Neighbors",
NULL
,
+p2 = computeForecast(data, indices, "Neighbors",
"Zero"
,
predict_from=P, horizon=H, simtype="none", local=TRUE)
predict_from=P, horizon=H, simtype="none", local=TRUE)
-p3 = computeForecast(data, indices, "Average", "
Zero
",
+p3 = computeForecast(data, indices, "Average", "
LastValue
",
predict_from=P, horizon=H)
predict_from=P, horizon=H)
-p4 = computeForecast(data, indices, "Persistence", "
Zero
",
+p4 = computeForecast(data, indices, "Persistence", "
LastValue
",
predict_from=P, horizon=H, same_day=TRUE)
-----r
e1 = computeError(data, p1, P, H)
predict_from=P, horizon=H, same_day=TRUE)
-----r
e1 = computeError(data, p1, P, H)