X-Git-Url: https://git.auder.net/?p=talweg.git;a=blobdiff_plain;f=reports%2Fyear2015.gj;fp=reports%2Fyear2015.gj;h=58340e79ee9298cd53654076b21271feecf9a700;hp=63f8e418500a62c42132111aa92a3189af601071;hb=aa5397f16be60b338e303b26cfceb65defac3054;hpb=096e9798a4241f14d12c3663f8035d8def43d7e3 diff --git a/reports/year2015.gj b/reports/year2015.gj index 63f8e41..58340e7 100644 --- a/reports/year2015.gj +++ b/reports/year2015.gj @@ -26,26 +26,7 @@ e2 = computeError(data, p2, P, H) e3 = computeError(data, p3, P, H) e4 = computeError(data, p4, P, H) options(repr.plot.width=9, repr.plot.height=7) -plotError(list(e1, e4, e3, e2), cols=c(1,2,colors()[258],4)) +plotError(list(e1, e4, e3, e2), cols=c(1,2,colors()[258],4), agg="month") # noir: Neighbors non-local (p1), bleu: Neighbors local (p2), # vert: moyenne (p3), rouge: persistence (p4) - -## TODO: plot modifié, retourner jour par jour et agréger au mois - -## TODO: garder éventuellement ça :: -sum_p23 = e2$abs$indices + e3$abs$indices -i_np = which.min(sum_p23) #indice de jour "facile" -i_p = which.max(sum_p23) #indice de jour "difficile" -% if P == 8: ------r -options(repr.plot.width=9, repr.plot.height=4) -par(mfrow=c(1,2)) - -plotPredReal(data, p1, i_np); title(paste("PredReal p1 day",i_np)) -plotPredReal(data, p1, i_p); title(paste("PredReal p1 day",i_p)) - -plotPredReal(data, p2, i_np); title(paste("PredReal p2 day",i_np)) -plotPredReal(data, p2, i_p); title(paste("PredReal p2 day",i_p)) - -# Bleu : prévue ; noir : réalisée (confondues jusqu'à predict_from-1)